summaryrefslogtreecommitdiffstats
path: root/tests/auto/qicoimageformat
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qicoimageformat')
-rw-r--r--tests/auto/qicoimageformat/qicoimageformat.pro7
-rw-r--r--tests/auto/qicoimageformat/tst_qticoimageformat.cpp6
2 files changed, 13 insertions, 0 deletions
diff --git a/tests/auto/qicoimageformat/qicoimageformat.pro b/tests/auto/qicoimageformat/qicoimageformat.pro
index 19c13b7..df121b6 100644
--- a/tests/auto/qicoimageformat/qicoimageformat.pro
+++ b/tests/auto/qicoimageformat/qicoimageformat.pro
@@ -12,6 +12,13 @@ wince*: {
}
addPlugins.path = imageformats
DEPLOYMENT += addFiles addPlugins
+} else:symbian* {
+ addFiles.sources = icons
+ addFiles.path = .
+ addPlugins.sources = qico.dll
+ addPlugins.path = imageformats
+ DEPLOYMENT += addFiles addPlugins
+ DEFINES += SYMBIAN_SRCDIR_UID=$$lower($$replace(TARGET.UID3,"0x",""))
} else {
DEFINES += SRCDIR=\\\"$$PWD\\\"
}
diff --git a/tests/auto/qicoimageformat/tst_qticoimageformat.cpp b/tests/auto/qicoimageformat/tst_qticoimageformat.cpp
index 7d7f4ac..89a0505 100644
--- a/tests/auto/qicoimageformat/tst_qticoimageformat.cpp
+++ b/tests/auto/qicoimageformat/tst_qticoimageformat.cpp
@@ -42,6 +42,12 @@
#include <QtGui>
#include <QtCore>
+#if defined(Q_OS_SYMBIAN)
+# define STRINGIFY(x) #x
+# define TOSTRING(x) STRINGIFY(x)
+# define SRCDIR "C:/Private/" TOSTRING(SYMBIAN_SRCDIR_UID) "/"
+#endif
+
class tst_QtIcoImageFormat : public QObject
{
Q_OBJECT