HOME 生活记录运维/编程
作者/来源:yixinu.com
栏目:运维/编程
日期:2018-11-26 10:05:06

https://blog.csdn.net/enaldick12/article/details/63255934


修改环境变量,能够找到qmake,可以修改/etc/profile也可以修改.bashrc文件


export PATH=/home/kyle/Qt5.10.1/5.10.1/gcc_64/bin:$PATH

export LD_LIBRARY_PATH=/home/kyle/Qt5.10.1/5.10.1/gcc_64/lib:$LD_LIBRARY_PATH

export QT_PLUGIN_PATH=/home/kyle/Qt5.10.1/5.10.1/gcc_64/plugins:$QT_PLUGIN_PATH

export QML2_IMPORT_PATH=/home/kyle/Qt5.10.1/5.10.1/gcc_64/qml:$QML2_IMPORT_PATH


-------------


kyle@xianglou:~$ linuxdeployqt ~/www/YixinuSHOP/branches/diancan/_build/diancan_server-Qt_5_6_2_gcc_64-Debug/diancan_server

分享到:

Copyright © 2013-2014 yixinu.com 湘ICP备14004402号

QQ:316686606  Email: 316686606@qq.com