summaryrefslogtreecommitdiffstats
path: root/src/widgets
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@nokia.com>2012-04-10 20:04:23 +0200
committerOswald Buddenhagen <oswald.buddenhagen@nokia.com>2012-06-19 16:45:59 +0200
commitf3cca88ac4388eb765bde675c320edf493686810 (patch)
tree17de93d9746a8bf8970b6e1a569059ebb3d48938 /src/widgets
parent19009cde45dcdab21bb113a150ff40f06a611ac6 (diff)
move QMAKE_PKGCONFIG_VARIABLES stuff out of qt_module_config.prf
this only needs to be set in one module each - the one which provides the relevant tool. this is moderately source-incompatible, in that a package which queries a given variable from the wrong library won't get the path it looks for any more. as it's likely that everyone was using QtCore as a reference anyway, this will only affect uic - which is in the new QtWidgets library, to which people need to adjust anyway. Change-Id: If05d3c33fda6cd12466e261391b825c59651d3e4 Reviewed-by: Joerg Bornemann <joerg.bornemann@nokia.com>
Diffstat (limited to 'src/widgets')
-rw-r--r--src/widgets/widgets.pro7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/widgets/widgets.pro b/src/widgets/widgets.pro
index f3e14b73b0..2df97fb98b 100644
--- a/src/widgets/widgets.pro
+++ b/src/widgets/widgets.pro
@@ -52,3 +52,10 @@ INCLUDEPATH += ../3rdparty/harfbuzz/src
win32:!contains(QT_CONFIG, directwrite) {
DEFINES += QT_NO_DIRECTWRITE
}
+
+load(uic)
+
+uic_dir.name = uic_location
+uic_dir.variable = QMAKE_UIC
+
+QMAKE_PKGCONFIG_VARIABLES += uic_dir