homescreenapp/common.pri
changeset 69 87476091b3f5
parent 63 52b0f64eeb51
child 71 1db7cc813a4e
--- a/homescreenapp/common.pri	Wed Jul 14 15:53:30 2010 +0300
+++ b/homescreenapp/common.pri	Fri Jul 23 13:47:57 2010 +0300
@@ -33,7 +33,7 @@
     SUBDIRPART = release
 }
 
-win32: OUTPUT_DIR = $$PWD/../../bin/$$SUBDIRPART
+!symbian: OUTPUT_DIR = $$PWD/../../bin/$$SUBDIRPART
 symbian: OUTPUT_DIR = $$PWD/bin
 
 SOURCE_DIR = $$PWD/inc
@@ -45,6 +45,7 @@
     MOC_DIR = $$OUTPUT_DIR/tmp/$$TARGET/moc
     RCC_DIR = $$OUTPUT_DIR/tmp/$$TARGET/rcc
     UI_DIR = $$OUTPUT_DIR/tmp/$$TARGET/ui
+    CONFIG -= app_bundle
 } else { # test part is NOT DONE
     QT *= testlib
     CONFIG += console
@@ -68,9 +69,7 @@
     INCLUDEPATH += $$MOC_DIR
     TARGET.CAPABILITY = ALL -TCB
     TARGET.EPOCALLOWDLLDATA=1
-}
-
-win32 {
+} else {
     # add platfrom API for windows
     INCLUDEPATH += \                
                 $$PWD/../../homescreensrv/homescreensrv_plat/contentstorage_api \                
@@ -79,7 +78,7 @@
 
 plugin: !isEmpty(PLUGIN_SUBDIR): DESTDIR = $$OUTPUT_DIR/$$PLUGIN_SUBDIR
 
-win32: plugin { # copy manifiers
+!symbian: plugin { # copy manifiers
     manifest.path = $$DESTDIR
     manifest.files = ./resource/*.manifest ./resource/*.xml
     manifest.CONFIG += no_build
@@ -119,8 +118,7 @@
         for(entry, entries) : BLD_INF_RULES.prj_exports += "./$$entry z:/$$replace(2, ^/,)/$$basename(entry)"
     }
     export ( BLD_INF_RULES.prj_exports)
-}
-win32 {
+} else {
     name = $$replace(1, [/\\\\\.\*], _)
     eval ($${name}.path = $${OUTPUT_DIR}/$${2})
     eval ($${name}.files = $$1)
@@ -137,10 +135,15 @@
 }
 }
 
-!exists($${EPOCROOT}epoc32/include/platform/mw/XQSettingsManager) {
-	DEFINES += NO_QT_EXTENSIONS
+symbian {
+    !exists($${EPOCROOT}epoc32/include/platform/mw/XQSettingsManager) {
+        DEFINES += NO_QT_EXTENSIONS
+    }
+} else {
+    DEFINES += NO_QT_EXTENSIONS
 }
 
+
 # support for NFT
 nft:DEFINES += NFT