我正在使用 macdeployqt 将一个QML应用程序部署到Mac OS,当我完成时,所有路径都很好并尝试从.dmg生成的包执行它我可以启动应用程序。试图从术语执行它我得到一个QML错误,说QtQuick.Window和其他模块没有安装。任何线索?
这是我尝试过的命令:
$ macdeployqt MyApp.app -qmldir=/Users/jgd/dev/myapp -no-strip
我收到了这个错误:
Log: Deploying QML imports
Log: Application QML file search path(s) is ("/Users/jngd/devel/MyApp/")
ERROR: qmlimportscanner output error. Expected json array, got:
ERROR: ""
QProcess: Destroyed while process ("/Users/jngd/devel/Qt/5.10.0/clang_64/bin/qmlimportscanner") is still running.