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

这里记录一些遇到的坑

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

QT工具——windepoly(部署)

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运行后发现无法运行,提示如下:
QT工具——windepoly(部署)
说明是没有找到qtquick模块,根据 部署工具的官方指导( https://doc.qt.io/qt-5/windows-deployment.html ),添加上--qml即可
QT工具——windepoly(部署)

labs组件的问题

QT工具——windepoly(部署)

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-11-16
  • 2021-07-20
  • 2022-12-23
  • 2022-12-23
  • 2021-06-25
猜你喜欢
  • 2021-06-20
  • 2021-11-23
  • 2021-10-12
  • 2021-11-09
  • 2022-01-04
相关资源
相似解决方案