QT工具——windepoly(部署)

使用windeployment部署,详细可以看官方部署文档
https://doc.qt.io/qt-5/windows-deployment.html

这里记录一些遇到的坑

实现自动添加qt和第三方dll

command         C:\Qt\5.15.2\msvc2015_64\bin\windeployqt.exe 
argument        --qmldir C:\Qt\5.15.2\msvc2015_64\qml D:\WorkSpace-\App\bin\debug\App.exe 
working directory        %{buildDir}

问题:winqt添加dll后仍不能运行 缺少qml

通过添加build实现自动添加dll运行后发现无法运行,提示如下:

说明是没有找到qtquick模块,根据 部署工具的官方指导( https://doc.qt.io/qt-5/windows-deployment.html ),添加上--qml即可

labs组件的问题

posted @ 2021-03-06 23:36  feipeng8848  阅读(416)  评论(0编辑  收藏  举报