summaryrefslogtreecommitdiffstats
path: root/mkspecs/features/qt_functions.prf
diff options
context:
space:
mode:
authorRomain Pokrzywka <romain.pokrzywka@kdab.com>2012-09-14 17:59:54 -0700
committerThe Qt Project <gerrit-noreply@qt-project.org>2012-09-28 21:09:35 +0200
commit84118ffa2c0b43497f283bfe3a8d6199a91f108d (patch)
tree0f7a3324a65fec9319286c9ada2455dba7fcc7ec /mkspecs/features/qt_functions.prf
parente4486e9fd02b1a612c55237a2cb12ba961bb5f7c (diff)
Fix accessing the rpath dir from included modules
The wrong variable was used when reading the module settings Change-Id: If35dc9694240a68393b24d7dba72520108cb9ac3 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
Diffstat (limited to 'mkspecs/features/qt_functions.prf')
-rw-r--r--mkspecs/features/qt_functions.prf2
1 files changed, 1 insertions, 1 deletions
diff --git a/mkspecs/features/qt_functions.prf b/mkspecs/features/qt_functions.prf
index c700a37e5a..f614ad8f07 100644
--- a/mkspecs/features/qt_functions.prf
+++ b/mkspecs/features/qt_functions.prf
@@ -89,7 +89,7 @@ defineTest(qtAddModule) {
LINKAGE += $$lib
contains(QT_CONFIG, rpath) {
- rpath = $$eval(QT.$${MODULE}.rpath)
+ rpath = $$eval(QT.$${1}.rpath)
isEmpty(rpath): rpath = $$MODULE_LIBS
QMAKE_RPATHDIR *= $$rpath
}