在发布模式下运行QML桌面应用程序时出错

时间:2012-11-24 17:14:38

标签: qt dll desktop qml

我在Qt和c ++中编写了一个QML桌面应用程序,并使用Qt Quick Desktop Components获取UI功能。(Windows 7)。我根据these指令(第一个答案)安装了组件,一次使用命令:qmake,jom debug,jom install,以及一次使用:qmake,jom release,jom install。

我有styleplugin.dll和styleplugind.dll(用于发布模式和调试模式),但是当我在发布模式下运行我的应用程序时,我收到此错误:

  为模块“Qt.labs.components”加载

:插件'C:/QtSDK/Desktop/Qt/4.7.4/mingw/imports/Qt/labs/components/plugin/styleplugin.dll'使用不兼容的Qt库。预计构建关键“Windows mingw release full-config”,获得“Windows mingw debug full-config”    import Qt.labs.components 0.1    ^

你知道这种情况的原因吗?

任何答案都将不胜感激!

0 个答案:

没有答案