Static Qt linking version , Qt 5.2, Unknown module(s) in QT: quick qml

老子叫甜甜 提交于 2019-12-11 08:19:54

问题


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:


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.



来源:https://stackoverflow.com/questions/21808954/static-qt-linking-version-qt-5-2-unknown-modules-in-qt-quick-qml

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!