2011-04-27 10:05:43 +00:00
|
|
|
load(qttest_p4)
|
2011-05-23 14:49:06 +00:00
|
|
|
QT += widgets
|
2011-07-18 23:45:08 +00:00
|
|
|
|
|
|
|
# do not run benchmarks by default in 'make check'
|
|
|
|
CONFIG -= testcase
|
|
|
|
|
2011-04-27 10:05:43 +00:00
|
|
|
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
|
|
|
|
}
|
|
|
|
|