tests/auto/qmessagestore/qmessagestore.pro
changeset 0 876b1a06bc25
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/auto/qmessagestore/qmessagestore.pro	Wed Aug 25 15:49:42 2010 +0300
@@ -0,0 +1,48 @@
+TEMPLATE = app
+TARGET = tst_qmessagestore
+
+CONFIG += testcase
+QT += testlib
+
+include(../../../common.pri)
+include(../support/support.pri)
+
+CONFIG += mobility
+MOBILITY = messaging
+INCLUDEPATH += ../../../src/messaging
+
+symbian|wince*|maemo5|win32|mac {
+} else {
+# Temporarily link against local qtopiamail lib (should be part of the platform)
+LIBS += -L $$(QMF_LIBDIR) -lqtopiamail
+}
+
+wince*|symbian*: {
+    addFiles.sources = testdata/*
+    addFiles.path = testdata
+    DEPLOYMENT += addFiles
+}
+
+wince* {
+    DEFINES += TEADATA_DIR=\\\".\\\"
+} !symbian {
+    DEFINES += TESTDATA_DIR=\\\"$$PWD/\\\"
+}
+
+SOURCES += \
+    tst_qmessagestore.cpp
+
+symbian {
+    LIBS += -limcm \
+            -lcommsdat \
+            -lmsgs
+
+    TARGET.CAPABILITY = NetworkServices \
+                        LocalServices \
+                        ReadUserData \
+                        WriteUserData \
+                        UserEnvironment \
+                        ReadDeviceData \
+                        WriteDeviceData
+}
+