Static Qt linking version , Qt 5.2, Unknown module

2019-08-12 08:15发布

I need to have Stand-Alone .exe file of my project. I knew that I have to get static Qt version linking.

I can’t run QML project by Static Qt linking version , Qt 5.2 rc1 on Windows 7 or Windows 8

An error occurred:

Project ERROR: Unknown module(s) in QT: quick qml

It’s very simple project of built in qml “Hello World” message.

I downloaded qt-package-opensource from :

http://download.qt-project.org/development_releases/qt/5.2/5.2.0-rc1/single/

Also, I found that is ageneral bug for many peaple,

https://bugreports.qt-project.org/browse/QTBUG-28357

But, any fix didn’t solve my problem.

Any help, please,

Thank you,

1条回答
你好瞎i
2楼-- · 2019-08-12 08:49

You first have to build a statically configured Qt itself. Then you don't need to do anything special in your project at all, apart from the usual care needed to link in the static plugins.

Merely building using statically configured Qt will link it statically into your project.

查看更多
登录 后发表回答