summaryrefslogtreecommitdiffstats
path: root/tests/auto/qimagereader/qimagereader.pro
diff options
context:
space:
mode:
authorBenjamin Poulain <benjamin.poulain@nokia.com>2009-05-20 08:21:11 (GMT)
committerBenjamin Poulain <benjamin.poulain@nokia.com>2009-05-20 08:25:07 (GMT)
commitba71f22dbee3e5bd4e0db0054b8ba57bde89d224 (patch)
treed4eb04d06ead8951e537bd7f0414944b20ece1c1 /tests/auto/qimagereader/qimagereader.pro
parentc51204359b7c9c2e63e4101f771d07774b921fee (diff)
downloadQt-ba71f22dbee3e5bd4e0db0054b8ba57bde89d224.zip
Qt-ba71f22dbee3e5bd4e0db0054b8ba57bde89d224.tar.gz
Qt-ba71f22dbee3e5bd4e0db0054b8ba57bde89d224.tar.bz2
Refactor the qimagereader autotest to work with shadow build
Refactor the test of QImageReader to work with shadow build. Add two tests for the TIFF format Fix an error of the test of QImageWriter that prevented the cleaning of the created files after the test. Reviewed-by: Olivier
Diffstat (limited to 'tests/auto/qimagereader/qimagereader.pro')
-rw-r--r--tests/auto/qimagereader/qimagereader.pro2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/auto/qimagereader/qimagereader.pro b/tests/auto/qimagereader/qimagereader.pro
index b178823..2c9510e 100644
--- a/tests/auto/qimagereader/qimagereader.pro
+++ b/tests/auto/qimagereader/qimagereader.pro
@@ -3,6 +3,7 @@ SOURCES += tst_qimagereader.cpp
MOC_DIR=tmp
QT += network
RESOURCES += qimagereader.qrc
+DEFINES += SRCDIR=\\\"$$PWD\\\"
!contains(QT_CONFIG, no-gif):DEFINES += QTEST_HAVE_GIF
!contains(QT_CONFIG, no-jpeg):DEFINES += QTEST_HAVE_JPEG
@@ -22,5 +23,6 @@ wince*: {
imagePlugins.path = imageformats
DEPLOYMENT += images imagePlugins
+ DEFINES += SRCDIR=\\\".\\\"
}