summaryrefslogtreecommitdiffstats
path: root/tests/benchmarks/declarative/qdeclarativecomponent/qdeclarativecomponent.pro
diff options
context:
space:
mode:
authorMiikka Heikkinen <miikka.heikkinen@digia.com>2010-05-14 13:37:35 (GMT)
committerMiikka Heikkinen <miikka.heikkinen@digia.com>2010-05-14 14:08:58 (GMT)
commit18af9ef6074c33f7416629007ef5d24a39a55cbe (patch)
tree5342c665bf6b0aa3f8673924d5742ebad34fbc9e /tests/benchmarks/declarative/qdeclarativecomponent/qdeclarativecomponent.pro
parentf4ffb4b082a43ba267855fbe915da9f934f59043 (diff)
downloadQt-18af9ef6074c33f7416629007ef5d24a39a55cbe.zip
Qt-18af9ef6074c33f7416629007ef5d24a39a55cbe.tar.gz
Qt-18af9ef6074c33f7416629007ef5d24a39a55cbe.tar.bz2
Fix SRCDIR and DEPLOYMENT usage in declarative benchmarks
These tests were either not compiling, were deploying incorrectly, or looking for data files from wrong place. Task-number: QTBUG-10661 Task-number: QTBUG-10666 Task-number: QTBUG-10667 Reviewed-by: Shane Kearns
Diffstat (limited to 'tests/benchmarks/declarative/qdeclarativecomponent/qdeclarativecomponent.pro')
-rw-r--r--tests/benchmarks/declarative/qdeclarativecomponent/qdeclarativecomponent.pro17
1 files changed, 7 insertions, 10 deletions
diff --git a/tests/benchmarks/declarative/qdeclarativecomponent/qdeclarativecomponent.pro b/tests/benchmarks/declarative/qdeclarativecomponent/qdeclarativecomponent.pro
index 30ef235..917040d 100644
--- a/tests/benchmarks/declarative/qdeclarativecomponent/qdeclarativecomponent.pro
+++ b/tests/benchmarks/declarative/qdeclarativecomponent/qdeclarativecomponent.pro
@@ -7,16 +7,13 @@ macx:CONFIG -= app_bundle
SOURCES += tst_qdeclarativecomponent.cpp testtypes.cpp
HEADERS += testtypes.h
-# Define SRCDIR equal to test's source directory
-DEFINES += SRCDIR=\\\"$$PWD\\\"
-symbian* {
- data.sources = data/*
- data.path = data
- samegame.sources = data/samegame/*
- samegame.path = data/samegame
- samegame_pics.sources = data/samegame/pics/*
- samegame_pics.path = data/samegame/pics
- DEPLOYMENT += data samegame samegame_pics
+symbian {
+ data.sources = data
+ data.path = .
+ DEPLOYMENT += data
+} else {
+ # Define SRCDIR equal to test's source directory
+ DEFINES += SRCDIR=\\\"$$PWD\\\"
}