source: branches/vendor/trolltech/qt/current/mkspecs/features/qt_config.prf @ 2

Last change on this file since 2 was 2, checked in by Dmitry A. Kuminov, 12 years ago

Initially imported qt-all-opensource-src-4.5.1 from Trolltech.

File size: 679 bytes
Line 
1exists($$_QMAKE_CACHE_):QMAKE_QT_CONFIG = $$fromfile($$_QMAKE_CACHE_, QMAKE_QT_CONFIG)
2isEmpty(QMAKE_QT_CONFIG)|!exists($$QMAKE_QT_CONFIG) {
3   !isEmpty(QT_BUILD_TREE):QMAKE_QT_CONFIG = $$QT_BUILD_TREE/mkspecs/qconfig.pri
4   else:exists($$_QMAKE_CACHE_):infile($$_QMAKE_CACHE_, QT_BUILD_TREE):QMAKE_QT_CONFIG = $$fromfile($$_QMAKE_CACHE_, QT_BUILD_TREE)/mkspecs/qconfig.pri
5   else:exists($$[QT_INSTALL_DATA]/mkspecs/qconfig.pri):QMAKE_QT_CONFIG = $$[QT_INSTALL_DATA]/mkspecs/qconfig.pri
6}
7!exists($$QMAKE_QT_CONFIG)|!include($$QMAKE_QT_CONFIG) {
8   debug(1, "Cannot load qconfig.pri!")
9} else {
10   debug(1, "Loaded .qconfig.pri from ($$QMAKE_QT_CONFIG)")
11}
12
13load(qt_functions)
14
Note: See TracBrowser for help on using the repository browser.