${CMAKE_CURRENT_SOURCE_DIR}/tst_qimagereader.cpp
)
-# GIF is built-in supported
-target_compile_definitions(tst_bench_qimagereader PRIVATE -DQTEST_HAVE_GIF)
if(WITH_JPEG AND JPEG_FOUND)
target_compile_definitions(tst_bench_qimagereader PRIVATE -DQTEST_HAVE_JPEG)
endif()
#include <QLabel>
#include <QPixmap>
#include <QSet>
-#include <QTcpSocket>
-#include <QTcpServer>
#include <QTimer>
typedef QMap<QString, QString> QStringMap;
images << QPair<QString, QByteArray>(QLatin1String("YCbCr_rgb.jpg"), QByteArray("jpeg"));
images << QPair<QString, QByteArray>(QLatin1String("task210380.jpg"), QByteArray("jpeg"));
#endif
-#if defined QTEST_HAVE_GIF
images << QPair<QString, QByteArray>(QLatin1String("earth.gif"), QByteArray("gif"));
images << QPair<QString, QByteArray>(QLatin1String("trolltech.gif"), QByteArray("gif"));
-#endif
}
tst_QImageReader::~tst_QImageReader()