Last change
on this file since 1036 was 846, checked in by Dmitry A. Kuminov, 14 years ago |
trunk: Merged in qt 4.7.2 sources from branches/vendor/nokia/qt.
|
File size:
928 bytes
|
Line | |
---|
1 | # This file is loaded by the mkspecs, before .qmake.cache has been loaded.
|
---|
2 | # Consequently, we have to do some stunts to get values out of the cache.
|
---|
3 |
|
---|
4 | exists($$_QMAKE_CACHE_):QMAKE_QT_CONFIG = $$fromfile($$_QMAKE_CACHE_, QMAKE_QT_CONFIG)
|
---|
5 | isEmpty(QMAKE_QT_CONFIG)|!exists($$QMAKE_QT_CONFIG) {
|
---|
6 | !isEmpty(QT_BUILD_TREE):QMAKE_QT_CONFIG = $$QT_BUILD_TREE/mkspecs/qconfig.pri
|
---|
7 | else:exists($$_QMAKE_CACHE_):infile($$_QMAKE_CACHE_, QT_BUILD_TREE):QMAKE_QT_CONFIG = $$fromfile($$_QMAKE_CACHE_, QT_BUILD_TREE)/mkspecs/qconfig.pri
|
---|
8 | else:exists($$[QT_INSTALL_DATA]/mkspecs/qconfig.pri):QMAKE_QT_CONFIG = $$[QT_INSTALL_DATA]/mkspecs/qconfig.pri
|
---|
9 | }
|
---|
10 | !exists($$QMAKE_QT_CONFIG)|!include($$QMAKE_QT_CONFIG, "", true) {
|
---|
11 | debug(1, "Cannot load qconfig.pri!")
|
---|
12 | } else {
|
---|
13 | debug(1, "Loaded .qconfig.pri from ($$QMAKE_QT_CONFIG)")
|
---|
14 | for(mod, $$list($$files($$dirname(QMAKE_QT_CONFIG)/modules/qt_*.pri))):include($$mod)
|
---|
15 | }
|
---|
16 |
|
---|
17 | load(qt_functions)
|
---|
18 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.