staticconfig.pri
changeset 0 876b1a06bc25
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/staticconfig.pri	Wed Aug 25 15:49:42 2010 +0300
@@ -0,0 +1,15 @@
+#
+# Fix up QT_MOBILITY_SOURCE_TREE if it isn't defined
+#
+# Symbian MCL builds do not run configure and hence don't have 
+# .qmake.cache which set QT_MOBILITY_SOURCE_TREE and 
+# QT_MOBILITY_BUILD_TREE. Therefore we need to define a fallback.
+# This has the disadvantage that shadow builds are not supported for symbian
+# but they are on other platforms.
+
+
+isEmpty(QT_MOBILITY_SOURCE_TREE):QT_MOBILITY_SOURCE_TREE = $$PWD 
+isEmpty(QT_MOBILITY_BUILD_TREE):QT_MOBILITY_BUILD_TREE = $$PWD 
+
+#now include the dynamic config
+include($$QT_MOBILITY_BUILD_TREE/config.pri)