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

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

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

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

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

posted on 2017-03-11 21:46  别人都叫我陈科  阅读(1603)  评论(0编辑  收藏  举报

导航