Android: Fix qimage test.

We must add all test data to resources.

Change-Id: I1b18415cd53a27bd23e51ac6b738d3ed94162ac9
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@theqtcompany.com>
This commit is contained in:
BogDan Vatra 2015-01-08 11:07:48 +02:00
parent 14c94240f9
commit c161197b5f
2 changed files with 24 additions and 0 deletions

View File

@ -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/*

View File

@ -0,0 +1,22 @@
<RCC>
<qresource prefix="/">
<file>images/image.bmp</file>
<file>images/image.gif</file>
<file>images/image.ico</file>
<file>images/image.jpg</file>
<file>images/image.pbm</file>
<file>images/image.pgm</file>
<file>images/image.png</file>
<file>images/image.ppm</file>
<file>images/image.xbm</file>
<file>images/image.xpm</file>
<file>images/jpeg_exif_orientation_value_1.jpg</file>
<file>images/jpeg_exif_orientation_value_2.jpg</file>
<file>images/jpeg_exif_orientation_value_3.jpg</file>
<file>images/jpeg_exif_orientation_value_4.jpg</file>
<file>images/jpeg_exif_orientation_value_5.jpg</file>
<file>images/jpeg_exif_orientation_value_6.jpg</file>
<file>images/jpeg_exif_orientation_value_7.jpg</file>
<file>images/jpeg_exif_orientation_value_8.jpg</file>
</qresource>
</RCC>