summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/qimage/tst_qimage.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/auto/qimage/tst_qimage.cpp b/tests/auto/qimage/tst_qimage.cpp
index b921be9..8952cdf 100644
--- a/tests/auto/qimage/tst_qimage.cpp
+++ b/tests/auto/qimage/tst_qimage.cpp
@@ -54,8 +54,8 @@
//TESTED_CLASS=
//TESTED_FILES=
-#if defined(Q_OS_SYMBIAN)
-# define SRCDIR ""
+#if defined(Q_OS_QNX)
+# undef SRCDIR
#endif
Q_DECLARE_METATYPE(QImage::Format)
@@ -295,10 +295,10 @@ void tst_QImage::formatHandlersInput_data()
{
QTest::addColumn<QString>("testFormat");
QTest::addColumn<QString>("testFile");
- #ifdef Q_OS_SYMBIAN
- const QString prefix = QLatin1String(SRCDIR) + "images/";
- #else
+ #ifdef SRCDIR
const QString prefix = QLatin1String(SRCDIR) + "/images/";
+ #else
+ const QString prefix = "images/";
#endif
// add a new line here when a file is added