summaryrefslogtreecommitdiffstats
path: root/tests/benchmarks/gui/image/qimagereader/qimagereader.pro
blob: 311ffad009f1e8b2d9688886a5cc1ff4fbbb86f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
QT += widgets testlib

TEMPLATE = app
TARGET = tst_bench_qimagereader

SOURCES += tst_qimagereader.cpp

!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
QT += network

wince*: {
   addFiles.files = images
   addFiles.path = .

   CONFIG(debug, debug|release):{
   imageFormatsPlugins.files = $$(QTDIR)/plugins/imageformats/*d4.dll
   }

   CONFIG(release, debug|release):{
   imageFormatsPlugins.files = $$(QTDIR)/plugins/imageformats/*[^d]4.dll
   }
   imageFormatsPlugins.path = imageformats
   DEPLOYMENT += addFiles imageFormatsPlugins
}