[英]Error: The deployment target requir Qt libs, but init qmake is failed. (CQtDeployer)
i am try to use CQtDeployer.我正在尝试使用 CQtDeployer。
I am using ubuntu 18.04 and QT 5.9.5.我正在使用 ubuntu 18.04 和 QT 5.9.5。
I want to run this on terminal:我想在终端上运行它:
cqtdeployer -bin MY_APP_NAME_IN_RELEASE_FOLDER -qmake /usr/lib/qt5/bin/qmake
Note:笔记:
/usr/lib/qt5/bin/qmake -> FROM QT CREATOR -> options -> qt versions -> autodetected qt 5.9.5 -> qmake locations
Result:结果:
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!
Note2:笔记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
What's the problem?有什么问题?
And the solution:和解决方案:
Blockquote Solution 1 As a workaround, uninstall the snap version of cqtdeployer and install cqtdeployer from the installer.
Blockquote 解决方案 1 作为一种解决方法,卸载快照版本的 cqtdeployer 并从安装程序安装 cqtdeployer。
Solution 2 Install Qt from an official source in user space.解决方案 2 从用户空间的官方来源安装 Qt。
If you are unable to use the GUI, use the console utility to install Qt如果您无法使用 GUI,请使用控制台实用程序安装 Qt
Blockquote
块引用
Solution from: https://github.com/QuasarApp/CQtDeployer/issues/373#issuecomment-637762214解决方案来自: https://github.com/QuasarApp/CQtDeployer/issues/373#issuecomment-637762214
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.