summaryrefslogtreecommitdiffstats
path: root/mkspecs/features/qt_module_config.prf
diff options
context:
space:
mode:
Diffstat (limited to 'mkspecs/features/qt_module_config.prf')
-rw-r--r--mkspecs/features/qt_module_config.prf5
1 files changed, 5 insertions, 0 deletions
diff --git a/mkspecs/features/qt_module_config.prf b/mkspecs/features/qt_module_config.prf
index 2046fc5eda..57d8b5d677 100644
--- a/mkspecs/features/qt_module_config.prf
+++ b/mkspecs/features/qt_module_config.prf
@@ -227,6 +227,11 @@ DEFINES *= QT_DEPRECATED_WARNINGS
TARGET = $$qtLibraryTarget($$TARGET$$QT_LIBINFIX) #do this towards the end
+# Provides useful info normally only contained in the internal .qmake.cache file
+qt_conf.name = qt_config
+qt_conf.variable = CONFIG
+QMAKE_PKGCONFIG_VARIABLES += qt_conf
+
load(qt_targets)
win32:DEFINES+=_USE_MATH_DEFINES