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文件就知道了,里面有例子,白忙活一场
./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 默认壁纸历代记
- Ubuntu Remix Cinnamon 20.04 评测:Ubuntu 与 Cinnamon 的完美融合
- Linux socket 初步
- 关于Ubuntu 11.10启动提示waiting for the network configuration的问题
- 在 Ubuntu 桌面中使用文件和文件夹
- Linux Kernel 4.0 RC5 发布!
- linux lsof详解
- linux 文件权限
- Linux 执行数学运算
- 10 篇对初学者和专家都有用的 Linux 命令教程
- Linux 与 Windows 对UNICODE 的处理方式
- Ubuntu12.04下QQ完美走起啊!走起啊!有木有啊!
- 解決Linux下Android开发真机调试设备不被识别问题
- ubuntu下chrome无法同步问题解决
- 运维入门
- 运维提升
- Linux 自检和 SystemTap
- Ubuntu Linux使用体验