summaryrefslogtreecommitdiffstats
path: root/src/qbase.pri
diff options
context:
space:
mode:
authorDavid García Garzón <david.garcia@upf.edu>2010-07-18 03:17:22 (GMT)
committerOswald Buddenhagen <oswald.buddenhagen@nokia.com>2010-07-29 08:55:35 (GMT)
commit77fda24918bff693a20ae11eae64809a9c4689dd (patch)
tree37dc16c5375d669e8ab0c6d40806d8a80ec393d6 /src/qbase.pri
parent65642dd343bf61510117cd7e13f69e7138247932 (diff)
downloadQt-77fda24918bff693a20ae11eae64809a9c4689dd.zip
Qt-77fda24918bff693a20ae11eae64809a9c4689dd.tar.gz
Qt-77fda24918bff693a20ae11eae64809a9c4689dd.tar.bz2
Added *_location variables to pkg-config files for rcc, lupdate and lrelease
Task-number: QTBUG-11546 Reviewed-by: ossi
Diffstat (limited to 'src/qbase.pri')
-rw-r--r--src/qbase.pri14
1 files changed, 13 insertions, 1 deletions
diff --git a/src/qbase.pri b/src/qbase.pri
index 064e67c..f6af22f 100644
--- a/src/qbase.pri
+++ b/src/qbase.pri
@@ -160,13 +160,25 @@ DEFINES *= QT_USE_FAST_OPERATOR_PLUS QT_USE_FAST_CONCATENATION
TARGET = $$qtLibraryTarget($$TARGET$$QT_LIBINFIX) #do this towards the end
+qtPrepareTool(QMAKE_LUPDATE, lupdate)
+qtPrepareTool(QMAKE_LRELEASE, lrelease)
+
moc_dir.name = moc_location
moc_dir.variable = QMAKE_MOC
uic_dir.name = uic_location
uic_dir.variable = QMAKE_UIC
-QMAKE_PKGCONFIG_VARIABLES += moc_dir uic_dir
+rcc_dir.name = rcc_location
+rcc_dir.variable = QMAKE_RCC
+
+lupdate_dir.name = lupdate_location
+lupdate_dir.variable = QMAKE_LUPDATE
+
+lrelease_dir.name = lrelease_location
+lrelease_dir.variable = QMAKE_LRELEASE
+
+QMAKE_PKGCONFIG_VARIABLES += moc_dir uic_dir rcc_dir lupdate_dir lrelease_dir
include(qt_targets.pri)