首页 > 代码库 > 学会了使用qmake -query

学会了使用qmake -query

D:\Qt\Qt5.6.2_static_kk\bin>qmake -query
QT_SYSROOT:
QT_INSTALL_PREFIX:C:/Qt/Qt5.6.2_static_kk
QT_INSTALL_ARCHDATA:C:/Qt/Qt5.6.2_static_kk
QT_INSTALL_DATA:C:/Qt/Qt5.6.2_static_kk
QT_INSTALL_DOCS:C:/Qt/Qt5.6.2_static_kk/doc
QT_INSTALL_HEADERS:C:/Qt/Qt5.6.2_static_kk/include
QT_INSTALL_LIBS:C:/Qt/Qt5.6.2_static_kk/lib
QT_INSTALL_LIBEXECS:C:/Qt/Qt5.6.2_static_kk/bin
QT_INSTALL_BINS:C:/Qt/Qt5.6.2_static_kk/bin
QT_INSTALL_TESTS:C:/Qt/Qt5.6.2_static_kk/tests
QT_INSTALL_PLUGINS:C:/Qt/Qt5.6.2_static_kk/plugins
QT_INSTALL_IMPORTS:C:/Qt/Qt5.6.2_static_kk/imports
QT_INSTALL_QML:C:/Qt/Qt5.6.2_static_kk/qml
QT_INSTALL_TRANSLATIONS:C:/Qt/Qt5.6.2_static_kk/translations
QT_INSTALL_CONFIGURATION:
QT_INSTALL_EXAMPLES:C:/Qt/Qt5.6.2_static_kk/examples
QT_INSTALL_DEMOS:C:/Qt/Qt5.6.2_static_kk/examples
QT_HOST_PREFIX:C:/Qt/Qt5.6.2_static_kk
QT_HOST_DATA:C:/Qt/Qt5.6.2_static_kk
QT_HOST_BINS:C:/Qt/Qt5.6.2_static_kk/bin
QT_HOST_LIBS:C:/Qt/Qt5.6.2_static_kk/lib
QMAKE_SPEC:win32-g++
QMAKE_XSPEC:win32-g++
QMAKE_VERSION:3.0
QT_VERSION:5.6.2

路径都被写死了,所以迁移到D盘不行。

http://www.stupidbeauty.com/Blog/article/1270/Qt4.7.0%E6%96%87%E6%A1%A3%E7%BF%BB%E8%AF%91%EF%BC%9A%E9%85%8D%E7%BD%AEqmake%E7%9A%84%E7%8E%AF%E5%A2%83%EF%BC%8CConfiguring%20qmake‘s%20Environment

http://popohope.blog.chinaunix.net/uid-17271829-id-4771626.html

https://www.devbean.net/2016/08/qt-creator-source-study-03/

 

学会了使用qmake -query