summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@nokia.com>2010-08-06 16:16:18 (GMT)
committerOswald Buddenhagen <oswald.buddenhagen@nokia.com>2010-08-11 07:56:37 (GMT)
commitb1d5e111d8bb4dba3bd13f7af5ac2fb7c91db71e (patch)
treeef9b2dfc0f957eff3bec856d9c1bb1cce97fd069
parent83795c1348f879d6742b4ef20b2315e0055e45a6 (diff)
downloadQt-b1d5e111d8bb4dba3bd13f7af5ac2fb7c91db71e.zip
Qt-b1d5e111d8bb4dba3bd13f7af5ac2fb7c91db71e.tar.gz
Qt-b1d5e111d8bb4dba3bd13f7af5ac2fb7c91db71e.tar.bz2
add comment explaining why this file does magic instead of just voodoo
Reviewed-by: joerg Reviewed-by: Simon Hausmann
-rw-r--r--mkspecs/features/qt_config.prf3
1 files changed, 3 insertions, 0 deletions
diff --git a/mkspecs/features/qt_config.prf b/mkspecs/features/qt_config.prf
index 0a2d985..b6fba65 100644
--- a/mkspecs/features/qt_config.prf
+++ b/mkspecs/features/qt_config.prf
@@ -1,3 +1,6 @@
+# This file is loaded by the mkspecs, before .qmake.cache has been loaded.
+# Consequently, we have to do some stunts to get values out of the cache.
+
exists($$_QMAKE_CACHE_):QMAKE_QT_CONFIG = $$fromfile($$_QMAKE_CACHE_, QMAKE_QT_CONFIG)
isEmpty(QMAKE_QT_CONFIG)|!exists($$QMAKE_QT_CONFIG) {
!isEmpty(QT_BUILD_TREE):QMAKE_QT_CONFIG = $$QT_BUILD_TREE/mkspecs/qconfig.pri