qtmobility/plugins/contacts/symbian/symbian_defines.pri
changeset 1 2b40d63a9c3d
child 14 6fbed849b4f4
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/qtmobility/plugins/contacts/symbian/symbian_defines.pri	Fri Apr 16 15:51:22 2010 +0300
@@ -0,0 +1,16 @@
+
+symbian: {
+    exists($${EPOCROOT}epoc32/data/z/system/install/Series60v5.2.sis) {
+        exists($${EPOCROOT}epoc32/release/winscw/udeb/VPbkEng.dll) \
+        | exists($${EPOCROOT}epoc32/release/armv5/urel/VPbkEng.dll) {
+            message("TB 9.2 platform")
+        } else {
+            message("TB 10.1 or later platform")
+            DEFINES += SYMBIAN_BACKEND_USE_SQLITE
+        }
+    }
+    
+    contains(S60_VERSION, 3.2) {
+    	DEFINES += SYMBIAN_BACKEND_S60_VERSION_32
+    }
+}
\ No newline at end of file