summaryrefslogtreecommitdiffstats
path: root/mkspecs/features/qt_config.prf
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@nokia.com>2010-08-06 16:17:22 (GMT)
committerOswald Buddenhagen <oswald.buddenhagen@nokia.com>2010-08-11 07:57:12 (GMT)
commit199b7ccb2a82e6a87808c3873c158ca38120dfdf (patch)
tree96dd7b208248df0a59e0dc1daaae8d031e0305b3 /mkspecs/features/qt_config.prf
parentbf992abf98056151def8ff0b853fce8f1924b02a (diff)
downloadQt-199b7ccb2a82e6a87808c3873c158ca38120dfdf.zip
Qt-199b7ccb2a82e6a87808c3873c158ca38120dfdf.tar.gz
Qt-199b7ccb2a82e6a87808c3873c158ca38120dfdf.tar.bz2
fix loading of module configs
do it in qt_config.prf instead of in the autogenerated qconfig.pri files. this is waaaay more elegant, and allows us to easily use the magic in that file which avoids loading qt configuration from the qt install dir while building qt itself. Reviewed-by: joerg Reviewed-by: Simon Hausmann Task-number: QTBUG-12698
Diffstat (limited to 'mkspecs/features/qt_config.prf')
-rw-r--r--mkspecs/features/qt_config.prf1
1 files changed, 1 insertions, 0 deletions
diff --git a/mkspecs/features/qt_config.prf b/mkspecs/features/qt_config.prf
index b6fba65..19e01a1 100644
--- a/mkspecs/features/qt_config.prf
+++ b/mkspecs/features/qt_config.prf
@@ -11,6 +11,7 @@ isEmpty(QMAKE_QT_CONFIG)|!exists($$QMAKE_QT_CONFIG) {
debug(1, "Cannot load qconfig.pri!")
} else {
debug(1, "Loaded .qconfig.pri from ($$QMAKE_QT_CONFIG)")
+ for(mod, $$list($$files($$dirname(QMAKE_QT_CONFIG)/modules/qt_*.pri))):include($$mod)
}
load(qt_functions)