qmake -query :

Code:
c:\Msys64\src>qmake -query
QMAKE_MKSPECS:c:/Msys64/src/QT/Qt/mkspecs
QT_INSTALL_PREFIX:G:/Msys64/mingw64
QT_INSTALL_DATA:G:/Msys64/mingw64/share/qt4
QT_INSTALL_DOCS:G:/Msys64/mingw64/share/qt4/doc
QT_INSTALL_HEADERS:G:/Msys64/mingw64/include/qt4
QT_INSTALL_LIBS:G:/Msys64/mingw64/lib
QT_INSTALL_BINS:G:/Msys64/mingw64/bin
QT_INSTALL_PLUGINS:G:/Msys64/mingw64/share/qt4/plugins
QT_INSTALL_IMPORTS:G:/Msys64/mingw64/share/qt4/imports
QT_INSTALL_TRANSLATIONS:G:/Msys64/mingw64/share/qt4/translations
QT_INSTALL_CONFIGURATION:C:/repo/mingw-w64-qt4/pkg/mingw-w64-x86_64-qt4/mingw64/etc
QT_INSTALL_EXAMPLES:G:/Msys64/mingw64/share/qt4/examples
QT_INSTALL_DEMOS:G:/Msys64/mingw64/share/qt4/demos
QMAKE_MKSPECS:G:/Msys64/mingw64/share/qt4\mkspecs
QMAKE_VERSION:2.01a
QT_VERSION:4.8.7