summaryrefslogtreecommitdiffstats
path: root/tests/auto/lancelot
diff options
context:
space:
mode:
authoraavit <qt-info@nokia.com>2010-11-09 11:20:26 (GMT)
committeraavit <qt-info@nokia.com>2010-11-09 11:20:26 (GMT)
commitd25330abf4bfe73b7c2867923c461a762747c485 (patch)
treecb7f975a7c3e38057b5fac96f0bc23ec6897087e /tests/auto/lancelot
parente4aa7e8f270bb722c458a0e4a756a159ab695a9c (diff)
downloadQt-d25330abf4bfe73b7c2867923c461a762747c485.zip
Qt-d25330abf4bfe73b7c2867923c461a762747c485.tar.gz
Qt-d25330abf4bfe73b7c2867923c461a762747c485.tar.bz2
Really fix getting qmakespec on windows
Diffstat (limited to 'tests/auto/lancelot')
-rw-r--r--tests/auto/lancelot/lancelot.pro4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/auto/lancelot/lancelot.pro b/tests/auto/lancelot/lancelot.pro
index 6498f6c..4535b83 100644
--- a/tests/auto/lancelot/lancelot.pro
+++ b/tests/auto/lancelot/lancelot.pro
@@ -8,6 +8,8 @@ HEADERS += $$QT_SOURCE_TREE/tests/arthur/common/paintcommands.h
RESOURCES += $$QT_SOURCE_TREE/tests/arthur/common/images.qrc
include($$QT_SOURCE_TREE/tests/arthur/common/baselineprotocol.pri)
-DEFINES += QMAKESPEC=\\\"$$QMAKESPEC\\\"
+win32|symbian*:MKSPEC=$$replace(QMAKESPEC, \\\\, /)
+else:MKSPEC=$$QMAKESPEC
+DEFINES += QMAKESPEC=\\\"$$MKSPEC\\\"
!symbian:!wince*:DEFINES += SRCDIR=\\\"$$PWD\\\"