Fix shadow build error for qmltest

Both $$OUT_PWD and $$PWD can't be used here, the real .pro directory
should be $$_PRO_FILE_PWD_

Task-number:QTBUG-22169
Change-Id: I0aebfe7503703fe2b264c7c47b828a8fc4ffac47
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
This commit is contained in:
Charles Yin 2011-10-20 11:42:37 +10:00 committed by Qt by Nokia
parent 98bd270fb7
commit ed374ed3ee

View File

@ -8,4 +8,4 @@ QT += declarative qmltest
load(testcase)
for(import, IMPORTPATH): check.commands += -import \"$$import\"
}
DEFINES += QUICK_TEST_SOURCE_DIR=\"\\\"$$OUT_PWD\\\"\"
DEFINES += QUICK_TEST_SOURCE_DIR=\"\\\"$$_PRO_FILE_PWD_\\\"\"