-
Fisrt you should build your application for release,(Don’t forget to add
QMAKE_LFLAGS_WINDOWS = /SUBSYSTEM:WINDOWS,5.01in your .pro file) -
then run
windeployqt yourApplication.exe. If your project used the qml, you will want to use--qmldiroption to let the tool known where your qml file are, adding in the qml depnedencies.
windeployqt yourApplication.exe --qmldir C:\Qt\Qt5.6.3\5.6.3\msvc2013\qml -
refer this link for more detail: https://github.com/daviddrell/visualsc/wiki/How-to-Deploy-a-Qt-5-Application-for-Windows
Qt5 deployment for windows xp 32bit
最新推荐文章于 2024-01-05 13:45:45 发布
博客介绍了Qt 5应用程序在Windows上的部署步骤,首先要为发布构建应用程序,若项目使用了qml,需使用特定选项让工具知晓qml文件位置并添加依赖。还给出了详细参考链接。

713

被折叠的 条评论
为什么被折叠?



