summaryrefslogtreecommitdiffstats
path: root/tests/auto/corelib/io/qresourceengine/qresourceengine.pro
diff options
context:
space:
mode:
authorEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@theqtcompany.com>2014-12-19 10:36:46 +0100
committerEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@theqtcompany.com>2014-12-19 16:00:41 +0100
commit0fb839ac62fe9feb8700783270d03f1e9ccb3914 (patch)
tree8abfbd0261335341437a1d08cadca18fd2782921 /tests/auto/corelib/io/qresourceengine/qresourceengine.pro
parenta07120d496c43d45792dc5ca92d93eea37f32cec (diff)
Android: Fix QResourceEngine tests
The test expects all the files to reside in the file system, both for loading the runtime resources and for comparisons. Since we can't deploy directly to the file system on Android, we go via qrc and extract the files on startup instead. Change-Id: I17ff8985cb17dbfc45f0fb692ca46558bb5c5cdc Reviewed-by: BogDan Vatra <bogdan@kde.org>
Diffstat (limited to 'tests/auto/corelib/io/qresourceengine/qresourceengine.pro')
-rw-r--r--tests/auto/corelib/io/qresourceengine/qresourceengine.pro4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/auto/corelib/io/qresourceengine/qresourceengine.pro b/tests/auto/corelib/io/qresourceengine/qresourceengine.pro
index b7606eb3fc..92d0952b89 100644
--- a/tests/auto/corelib/io/qresourceengine/qresourceengine.pro
+++ b/tests/auto/corelib/io/qresourceengine/qresourceengine.pro
@@ -16,3 +16,7 @@ TESTDATA += \
testqrc/*
GENERATED_TESTDATA = $${runtime_resource.target}
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
+
+android:!android-no-sdk {
+ RESOURCES += android_testdata.qrc
+}