qml发布程序时在添加依赖后白屏的问题

  • 当你使用windeployqt发布QML应用程序时需要附加标记--qmldir
  • 例子
windeployqt --(release or debug) --qmldir %PATH_TO_YOUR_QML_FILES% %YOUR_APPLICATION%.exe 

它会自定解析你的qml文件。

posted @ 2022-06-07 07:59  清楚xc  阅读(150)  评论(0)    收藏  举报