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

Could not find qmake configuration file linux-g++.

2016-04-15 14:51 561 查看
如下图,刚刚接触Qt,在Ubuntu 14.04下运行

./configure -prefix  -release -nomake tests -nomake examples -opensource  -qt-xcb

编译Qt5.6.0源码时,

报错:Could not find qmake configuration file linux-g++。

find $PWD -name linux-g++.

可以发现文件在 $PWD/qtbase下面

所以上文命令改为

./configure -prefix $PWD/qtbase -release -nomake tests -nomake examples -opensource  -qt-xcb
其实大家阅读README文件就知道了,里面有例子,白忙活一场
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  ubuntu qt linux