qtcontactsmobility/tests/auto/contacts_plugins.pri
changeset 24 0ba2181d7c28
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/qtcontactsmobility/tests/auto/contacts_plugins.pri	Fri Mar 19 09:27:18 2010 +0200
@@ -0,0 +1,37 @@
+#
+# Code for making sure our test plugins go to the right places
+# (by default, these are private plugins for cross compilation platforms)
+#
+# There is typically a completely separate folder for each unit test
+# on these platforms, so installing plugins to those dirs is acceptable.
+#
+# On other platforms, all tests are built and live in a single place
+# so we put the test plugins into a separate dir, since we don't want
+# these test plugins available for all unit tests.
+#
+symbian{
+    TARGET.EPOCALLOWDLLDATA = 1
+    TARGET.CAPABILITY = ALL -TCB
+
+    testplugin.sources = $${TARGET}.dll
+    testplugin.path = plugins\contacts
+    DEPLOYMENT += testplugin
+
+    target.path = plugins\contacts
+    INSTALLS += target
+}
+
+wince* {
+    testplugin.sources = $${TARGET}.dll
+    testplugin.path = ./plugins
+    DEPLOYMENT += testplugin
+
+    target.path = ./plugins
+    INSTALLS += target
+}
+
+# Add this too
+CONFIG += mobility
+MOBILITY = contacts
+
+