summaryrefslogtreecommitdiffstats
path: root/tests/auto/gui/painting/qpainter/qpainter.pro
diff options
context:
space:
mode:
authorEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@theqtcompany.com>2015-01-06 15:53:03 +0100
committerBogDan Vatra <bogdan@kde.org>2015-01-08 10:03:27 +0100
commit954d355fbcf901587a4dd177fe176cc2131ec4a0 (patch)
tree8c0d477b2b6918dd998c49ba8ecee2f3e47b2d81 /tests/auto/gui/painting/qpainter/qpainter.pro
parent57949b5f2d1434fd935b94331dcf97a81663d6db (diff)
Android: Fix QPainter autotest
The testdata needs to be in a qrc to be available on Android. Note that a single test will still fail. Since this requires a platform-independent fix, it will be committed separately. Change-Id: Ib2438a3298d81d77b7f4f240ef045aa0500d8382 Reviewed-by: BogDan Vatra <bogdan@kde.org>
Diffstat (limited to 'tests/auto/gui/painting/qpainter/qpainter.pro')
-rw-r--r--tests/auto/gui/painting/qpainter/qpainter.pro5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/auto/gui/painting/qpainter/qpainter.pro b/tests/auto/gui/painting/qpainter/qpainter.pro
index 752f9be1f4..7e9d438e1b 100644
--- a/tests/auto/gui/painting/qpainter/qpainter.pro
+++ b/tests/auto/gui/painting/qpainter/qpainter.pro
@@ -10,3 +10,8 @@ SOURCES += tst_qpainter.cpp
TESTDATA += drawEllipse/* drawLine_rop_bitmap/* drawPixmap_rop/* drawPixmap_rop_bitmap/* \
task217400.png
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0
+
+android: !android-no-sdk {
+ RESOURCES += \
+ testdata.qrc
+}