您的位置:首页 > 运维架构 > Linux

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

2010-09-13 09:48 405 查看
如果编译时候出现错误:QMAKESPEC has not been set, so configuration cannot be 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
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐