55b6e6fdfb
qttest_p4.prf was added as a convenience for Qt's own autotests in Qt4. It enables various crufty undocumented magic, of dubious value. Stop using it, and explicitly enable the things from it which we want. Change-Id: I48ab0ee64d8348cada2e6c7b27c67b6bbc36280d Reviewed-by: Jason McDonald <jason.mcdonald@nokia.com>
29 lines
718 B
Prolog
29 lines
718 B
Prolog
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
|
|
}
|
|
|