0
的版本,當我嘗試構建Qt Creator
from source時,出現以下錯誤。爲了避免Qt Creator從源代碼錯誤Qt構建
[email protected]:/usr/share/qtcreator/qtcreator_build$ qmake -version
QMake version 2.01a
Using Qt version 4.8.2 in /usr/local/Trolltech/Qt-4.8.2/lib
[email protected]:/usr/share/qtcreator/qtcreator_build$ sudo qmake ../qtcreator_fromSrc/qtcreator.pro
Project MESSAGE: Cannot build Qt Creator with Qt version 4.6.2.
Project ERROR: Use at least Qt 4.7.4.
如圖所示,Qt
文庫在使用以上是4.8.2,應資格版本4.7.2。它已安裝from source。我如何讓qtcreator
安裝程序識別出正確的qt
版本?