手动编译QT5,make install 后,运行qmake -v 没有任何显示。。说没有安装。。
-
手动下的源码,参考的是这篇文章的安装
git clone git://gitorious.org/qt/qt5.git qt5cd qt5
git checkout stablecd qt5
perl init-repository./configure -developer-build -opensource -nomake examples -nomake tests
make -j 4
make install
上面一系列过程没有错误,但是运行qmake -v就是没有输出,还提示让装qt。。
-
那肯定是有错误喽。看看有make中有没有出现Error 2这样的字眼。有的话就一定是错误。
-
[quote author="jiangcaiyang" date="1400507747"]那肯定是有错误喽。看看有make中有没有出现Error 2这样的字眼。有的话就一定是错误。[/quote]
没有
-
cd 到你qt5这个目录,然后cd qtbase/bin,最后执行./qmake -v看看。