linux下配置QT QMAKESPEC has not been set, so configuration cannot be deduced

来源:互联网 发布:英文网站源码 编辑:程序博客网 时间:2024/05/29 08:35

如果编译时候出现错误:QMAKESPEC has not been set, so configuration cannotbe deduced.

Error processing project file: XXXXX.pro

QMAKESPEC变量没有设置好在/root/.bash_profile里加入一行:

export QMAKESPEC=/usr/local/qt-x11-opensource-src-4.3.2/mkspecs/linux-g++(即是linux-g++的路径)。

参考网址

http://www.linuxdiyf.com/viewarticle.php?id=84027

0 0
原创粉丝点击