summaryrefslogtreecommitdiffstats
path: root/tests/auto/corelib/io/qtemporaryfile/qtemporaryfile.pro
diff options
context:
space:
mode:
authorEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@theqtcompany.com>2014-12-19 14:34:46 +0100
committerEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@theqtcompany.com>2015-01-08 10:06:50 +0100
commit7ad75cd8ef7e95bba3cfc694b7baffbc445bd2b0 (patch)
tree632cd658845bc99be1c92957d9a73a3108e558ef /tests/auto/corelib/io/qtemporaryfile/qtemporaryfile.pro
parent954d355fbcf901587a4dd177fe176cc2131ec4a0 (diff)
Android: Fix QTemporaryFile tests
Fixed a few instances of files that should be deployed to the file system. The way we do this on Android is via qrc. We also need a special case for the resources/test.txt, because QFINDTESTDATA will find this in qrc, but that's not the one we are looking for. Change-Id: I7097e8b7795b3a8fd483adad090208f295478412 Reviewed-by: BogDan Vatra <bogdan@kde.org>
Diffstat (limited to 'tests/auto/corelib/io/qtemporaryfile/qtemporaryfile.pro')
-rw-r--r--tests/auto/corelib/io/qtemporaryfile/qtemporaryfile.pro6
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/auto/corelib/io/qtemporaryfile/qtemporaryfile.pro b/tests/auto/corelib/io/qtemporaryfile/qtemporaryfile.pro
index 8a91340e5f..c16a729ad0 100644
--- a/tests/auto/corelib/io/qtemporaryfile/qtemporaryfile.pro
+++ b/tests/auto/corelib/io/qtemporaryfile/qtemporaryfile.pro
@@ -5,4 +5,8 @@ QT = core testlib
SOURCES = tst_qtemporaryfile.cpp
TESTDATA += tst_qtemporaryfile.cpp
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
-RESOURCES += qtemporaryfile.qrc \ No newline at end of file
+RESOURCES += qtemporaryfile.qrc
+
+android:!android-no-sdk {
+ RESOURCES += android_testdata.qrc
+}