summaryrefslogtreecommitdiffstats
path: root/tests/auto/qimagereader/qimagereader.pro
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qimagereader/qimagereader.pro')
-rw-r--r--tests/auto/qimagereader/qimagereader.pro26
1 files changed, 26 insertions, 0 deletions
diff --git a/tests/auto/qimagereader/qimagereader.pro b/tests/auto/qimagereader/qimagereader.pro
new file mode 100644
index 0000000..b178823
--- /dev/null
+++ b/tests/auto/qimagereader/qimagereader.pro
@@ -0,0 +1,26 @@
+load(qttest_p4)
+SOURCES += tst_qimagereader.cpp
+MOC_DIR=tmp
+QT += network
+RESOURCES += qimagereader.qrc
+
+!contains(QT_CONFIG, no-gif):DEFINES += QTEST_HAVE_GIF
+!contains(QT_CONFIG, no-jpeg):DEFINES += QTEST_HAVE_JPEG
+!contains(QT_CONFIG, no-mng):DEFINES += QTEST_HAVE_MNG
+!contains(QT_CONFIG, no-tiff):DEFINES += QTEST_HAVE_TIFF
+
+win32-msvc:QMAKE_CXXFLAGS -= -Zm200
+win32-msvc:QMAKE_CXXFLAGS += -Zm800
+win32-msvc.net:QMAKE_CXXFLAGS -= -Zm300
+win32-msvc.net:QMAKE_CXXFLAGS += -Zm1100
+
+wince*: {
+ images.sources = images
+ images.path = .
+
+ imagePlugins.sources = $$QT_BUILD_TREE/plugins/imageformats/*.dll
+ imagePlugins.path = imageformats
+
+ DEPLOYMENT += images imagePlugins
+}
+