diff options
author | Miikka Heikkinen <miikka.heikkinen@digia.com> | 2009-08-12 10:29:06 (GMT) |
---|---|---|
committer | Miikka Heikkinen <miikka.heikkinen@digia.com> | 2009-08-12 10:29:06 (GMT) |
commit | 0e3b37152aab2794eced6663984a28c0c9d698a4 (patch) | |
tree | a46c52fa9354011ab8e6deb83f78624f7a4e23aa | |
parent | 7d6c47d81eec6696a1684ebc459bdaf05538dd2e (diff) | |
download | Qt-0e3b37152aab2794eced6663984a28c0c9d698a4.zip Qt-0e3b37152aab2794eced6663984a28c0c9d698a4.tar.gz Qt-0e3b37152aab2794eced6663984a28c0c9d698a4.tar.bz2 |
Fixed qimagereader test compilation
-rw-r--r-- | tests/auto/qimagereader/qimagereader.pro | 2 | ||||
-rw-r--r-- | tests/auto/qimagereader/tst_qimagereader.cpp | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/tests/auto/qimagereader/qimagereader.pro b/tests/auto/qimagereader/qimagereader.pro index b4e1de1..31a9b0f 100644 --- a/tests/auto/qimagereader/qimagereader.pro +++ b/tests/auto/qimagereader/qimagereader.pro @@ -3,7 +3,7 @@ SOURCES += tst_qimagereader.cpp MOC_DIR=tmp QT += network RESOURCES += qimagereader.qrc -DEFINES += SRCDIR=\\\"$$PWD\\\" +!symbian:DEFINES += SRCDIR=\\\"$$PWD\\\" !contains(QT_CONFIG, no-gif):DEFINES += QTEST_HAVE_GIF !contains(QT_CONFIG, no-jpeg):DEFINES += QTEST_HAVE_JPEG diff --git a/tests/auto/qimagereader/tst_qimagereader.cpp b/tests/auto/qimagereader/tst_qimagereader.cpp index ea30b3c..3b1b40b 100644 --- a/tests/auto/qimagereader/tst_qimagereader.cpp +++ b/tests/auto/qimagereader/tst_qimagereader.cpp @@ -55,6 +55,10 @@ #include <QTcpServer> #include <QTimer> +#if defined(Q_OS_SYMBIAN) +# define SRCDIR "." +#endif + typedef QMap<QString, QString> QStringMap; typedef QList<int> QIntList; Q_DECLARE_METATYPE(QImage) |