mkspecs/features/symbian/moc.prf
changeset 30 5dc02b23752f
parent 0 1918ee327afb
child 33 3e2da88830cd
--- a/mkspecs/features/symbian/moc.prf	Wed Jun 23 19:07:03 2010 +0300
+++ b/mkspecs/features/symbian/moc.prf	Tue Jul 06 15:10:48 2010 +0300
@@ -1,16 +1,18 @@
 load(moc)
 
-RET = $$find(MOC_DIR, "(/|^)\.[^/]+/?$")
-!isEmpty(RET):{
-    error("Symbian does not support directories starting with a dot. Please set MOC_DIR to a different value in your profile. MOC_DIR: $$MOC_DIR")
-}
+symbian-abld|symbian-sbsv2 {
+    RET = $$find(MOC_DIR, "(/|^)\.[^/]+/?$")
+    !isEmpty(RET):{
+        error("Symbian does not support directories starting with a dot. Please set MOC_DIR to a different value in your profile. MOC_DIR: $$MOC_DIR")
+    }
 
-RET = $$find(RCC_DIR, "(/|^)\.[^/]+/?$")
-!isEmpty(RET):{
-    error("Symbian does not support directories starting with a dot. Please set RCC_DIR to a different value in your profile. RCC_DIR: $$RCC_DIR")
-}
+    RET = $$find(RCC_DIR, "(/|^)\.[^/]+/?$")
+    !isEmpty(RET):{
+        error("Symbian does not support directories starting with a dot. Please set RCC_DIR to a different value in your profile. RCC_DIR: $$RCC_DIR")
+    }
 
-RET = $$find(OBJECTS_DIR, "(/|^)\.[^/]+/?$")
-!isEmpty(RET):{
-    error("Symbian does not support directories starting with a dot. Please set OBJECTS_DIR to a different value in your profile. OBJECTS_DIR: $$OBJECTS_DIR")
+    RET = $$find(OBJECTS_DIR, "(/|^)\.[^/]+/?$")
+    !isEmpty(RET):{
+        error("Symbian does not support directories starting with a dot. Please set OBJECTS_DIR to a different value in your profile. OBJECTS_DIR: $$OBJECTS_DIR")
+    }
 }