summaryrefslogtreecommitdiffstats
path: root/tests/auto/corelib/io/qfileinfo/qfileinfo.pro
diff options
context:
space:
mode:
authorEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@theqtcompany.com>2014-12-18 13:05:22 +0100
committerEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@theqtcompany.com>2014-12-22 09:27:27 +0100
commit5681ae74e35b861b03a51cc5f9dbcbadef45b24c (patch)
tree8139bd82cf026afe6cd8a6600eff5387d2298d1c /tests/auto/corelib/io/qfileinfo/qfileinfo.pro
parent0dd7bd0c7ab8383c5aa739e69a3e2bb317c4b19f (diff)
Android: Fix QFileInfo tests
Since there's no way to deploy files directly to the file file system on Android, we put them in a qrc file and extract them on startup. Change-Id: I6a42aa5e0372bfd9fb2f7ccfea964c9c3c2e45d8 Reviewed-by: BogDan Vatra <bogdan@kde.org>
Diffstat (limited to 'tests/auto/corelib/io/qfileinfo/qfileinfo.pro')
-rw-r--r--tests/auto/corelib/io/qfileinfo/qfileinfo.pro4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/auto/corelib/io/qfileinfo/qfileinfo.pro b/tests/auto/corelib/io/qfileinfo/qfileinfo.pro
index 64d289bc3c..3fd58b4958 100644
--- a/tests/auto/corelib/io/qfileinfo/qfileinfo.pro
+++ b/tests/auto/corelib/io/qfileinfo/qfileinfo.pro
@@ -8,3 +8,7 @@ TESTDATA += qfileinfo.qrc qfileinfo.pro tst_qfileinfo.cpp resources/file1 resour
win32*:!wince*:!winrt:LIBS += -ladvapi32 -lnetapi32
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
+
+android:!android-no-sdk: {
+ RESOURCES += android_testdata.qrc
+}