Linux 下安装QT出现The specified system/compiler is not suppo

之前安装了QT的4.3版本,现需要用到phonon库,因此卸载后想重新安装4.7版本,但当使用./configure编译时出现The specified system/compiler is not supported:

xxx/xxx/。。。。。。的提示,按照字面意思是系统或者编译工具不支持,但这是不可能的,很纠结。经过查阅资料得知看下环境变量,于是乎,终端输入export,终于明白是哪里出错了:

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

重新./configure 指定目录,OK!

另附其他错误参考:

http://blog.csdn.net/michaelsrc/article/details/6399333

一个人骑行,孤单却内省;一群人骑行,壮观而有力。

Linux 下安装QT出现The specified system/compiler is not suppo

相关文章:

你感兴趣的文章:

标签云: