Linux 下安装QT出现The specified system/compiler is not supported错误

时间:2017-03-11 23:30:13   收藏:0   阅读:1848

字面意思是系统或者编译工具不支持

终端输入export,才明白是哪里出错了:

在export显示的信息中,QMAKESPEC=/xxx/xxxx/xxx/xxx这个环境变量指定的目录根本就不是我的qt源码所在的目录,就重新设一下该环境变量:
export QMAKESPEC=/root/qt-everywhere-opensource-src-4.7.0/mkspecs/Linux-g++

重新./configure........,OK!

原文:http://www.cnblogs.com/kirk1995/p/6536321.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!