From c161197b5f749393e462015d0c5fdecad42127b5 Mon Sep 17 00:00:00 2001 From: BogDan Vatra Date: Thu, 8 Jan 2015 11:07:48 +0200 Subject: [PATCH] Android: Fix qimage test. We must add all test data to resources. Change-Id: I1b18415cd53a27bd23e51ac6b738d3ed94162ac9 Reviewed-by: Eskil Abrahamsen Blomfeldt --- tests/auto/gui/image/qimage/qimage.pro | 2 ++ tests/auto/gui/image/qimage/qimage.qrc | 22 ++++++++++++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 tests/auto/gui/image/qimage/qimage.qrc diff --git a/tests/auto/gui/image/qimage/qimage.pro b/tests/auto/gui/image/qimage/qimage.pro index 117e34653d..42280d3bd4 100644 --- a/tests/auto/gui/image/qimage/qimage.pro +++ b/tests/auto/gui/image/qimage/qimage.pro @@ -6,4 +6,6 @@ SOURCES += tst_qimage.cpp QT += core-private gui-private testlib contains(QT_CONFIG, c++11): CONFIG += c++11 +android:!android-no-sdk:RESOURCES+=qimage.qrc + TESTDATA += images/* diff --git a/tests/auto/gui/image/qimage/qimage.qrc b/tests/auto/gui/image/qimage/qimage.qrc new file mode 100644 index 0000000000..e5de27faf8 --- /dev/null +++ b/tests/auto/gui/image/qimage/qimage.qrc @@ -0,0 +1,22 @@ + + + images/image.bmp + images/image.gif + images/image.ico + images/image.jpg + images/image.pbm + images/image.pgm + images/image.png + images/image.ppm + images/image.xbm + images/image.xpm + images/jpeg_exif_orientation_value_1.jpg + images/jpeg_exif_orientation_value_2.jpg + images/jpeg_exif_orientation_value_3.jpg + images/jpeg_exif_orientation_value_4.jpg + images/jpeg_exif_orientation_value_5.jpg + images/jpeg_exif_orientation_value_6.jpg + images/jpeg_exif_orientation_value_7.jpg + images/jpeg_exif_orientation_value_8.jpg + +