错误:部署目标需要Qt libs,但init qmake失败。(CQtDeployer)
我正在尝试使用CQtDeployer 我正在使用Ubuntu18.04和Qt5.9.5 我想在终端上运行此操作:错误:部署目标需要Qt libs,但init qmake失败。(CQtDeployer),qt,deployment,terminal,qml,ubuntu-18.04,Qt,Deployment,Terminal,Qml,Ubuntu 18.04,我正在尝试使用CQtDeployer 我正在使用Ubuntu18.04和Qt5.9.5 我想在终端上运行此操作: cqtdeployer -bin MY_APP_NAME_IN_RELEASE_FOLDER -qmake /usr/lib/qt5/bin/qmake 注: 结果: Info: Deploy ... Info: flag targetDir not used. use default target dir :/root/Masaüstü/RELEASE/DistributionK
cqtdeployer -bin MY_APP_NAME_IN_RELEASE_FOLDER -qmake /usr/lib/qt5/bin/qmake
注:
结果:
Info: Deploy ...
Info: flag targetDir not used. use default target dir :/root/Masaüstü/RELEASE/DistributionKit
Error: The deployment target requir Qt libs, but init qmake is failed.
Error: deploy is failed!
注2:
root@ubuntu-pc:~/DEPLOY_TEST_1# qmake --version
QMake version 3.1
Using Qt version 5.9.5 in /usr/lib/x86_64-linux-gnu
什么问题?以及解决方案:
大宗报价
解决方案1
作为一种解决方法,请卸载cqtdeployer的快照版本,然后从安装程序中安装cqtdeployer
解决方案2
从用户空间中的官方来源安装Qt
如果无法使用GUI,请使用console实用程序安装Qt
大宗报价
解决方案来自:
root@ubuntu-pc:~/DEPLOY_TEST_1# qmake --version
QMake version 3.1
Using Qt version 5.9.5 in /usr/lib/x86_64-linux-gnu