summaryrefslogtreecommitdiffstats
path: root/tests/auto/tools/qmake/testdata
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@nokia.com>2012-02-23 14:46:08 +0100
committerQt by Nokia <qt-info@nokia.com>2012-02-27 20:52:45 +0100
commit091dd54a6c145c477ade2b910519fc4d6d0e3591 (patch)
treedc9f38cbc110d233cc36fceded42ddd212bf7b7b /tests/auto/tools/qmake/testdata
parent5bbfe4d6d8752067e51983b34169a99f563088f8 (diff)
don't rely on $PATH for finding rcc
Change-Id: I7e6ffad6d84cca0b548920b3e620375fb5e314e9 Reviewed-by: Joerg Bornemann <joerg.bornemann@nokia.com>
Diffstat (limited to 'tests/auto/tools/qmake/testdata')
-rw-r--r--tests/auto/tools/qmake/testdata/quotedfilenames/quotedfilenames.pro4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/auto/tools/qmake/testdata/quotedfilenames/quotedfilenames.pro b/tests/auto/tools/qmake/testdata/quotedfilenames/quotedfilenames.pro
index 7f22f437c2..13d4d6c4ad 100644
--- a/tests/auto/tools/qmake/testdata/quotedfilenames/quotedfilenames.pro
+++ b/tests/auto/tools/qmake/testdata/quotedfilenames/quotedfilenames.pro
@@ -6,7 +6,9 @@ SOURCES = main.cpp
RCCINPUT = "rc folder/test.qrc"
RCCOUTPUT = test.cpp
-rcc_test.commands = rcc -o ${QMAKE_FILE_OUT} ${QMAKE_FILE_IN}
+qtPrepareTool(QMAKE_RCC, rcc)
+
+rcc_test.commands = $$QMAKE_RCC -o ${QMAKE_FILE_OUT} ${QMAKE_FILE_IN}
rcc_test.output = $$RCCOUTPUT
rcc_test.input = RCCINPUT
rcc_test.variable_out = SOURCES