equal
deleted
inserted
replaced
36 SUBDIRPART = debug |
36 SUBDIRPART = debug |
37 } else { |
37 } else { |
38 SUBDIRPART = release |
38 SUBDIRPART = release |
39 } |
39 } |
40 |
40 |
41 win32: OUTPUT_DIR = $$PWD/../bin/$$SUBDIRPART |
41 !symbian: OUTPUT_DIR = $$PWD/../bin/$$SUBDIRPART |
42 symbian: OUTPUT_DIR = $$PWD/bin |
42 symbian: OUTPUT_DIR = $$PWD/bin |
43 |
43 |
44 SOURCE_DIR = $$PWD/inc |
44 SOURCE_DIR = $$PWD/inc |
45 |
45 |
46 #test whether we have a unit test |
46 #test whether we have a unit test |
71 symbian { |
71 symbian { |
72 INCLUDEPATH += $$MW_LAYER_SYSTEMINCLUDE |
72 INCLUDEPATH += $$MW_LAYER_SYSTEMINCLUDE |
73 INCLUDEPATH += $$MOC_DIR |
73 INCLUDEPATH += $$MOC_DIR |
74 TARGET.CAPABILITY = ALL -TCB |
74 TARGET.CAPABILITY = ALL -TCB |
75 TARGET.EPOCALLOWDLLDATA=1 |
75 TARGET.EPOCALLOWDLLDATA=1 |
76 } |
76 } else { |
77 |
|
78 win32 { |
|
79 # add platfrom API for windows |
77 # add platfrom API for windows |
80 INCLUDEPATH += \ |
78 INCLUDEPATH += \ |
81 $$PWD/homescreensrv_plat/contentstorage_api \ |
79 $$PWD/homescreensrv_plat/contentstorage_api \ |
82 $$PWD/homescreensrv_plat/hswidgetmodel_api \ |
80 $$PWD/homescreensrv_plat/hswidgetmodel_api \ |
83 $$PWD/homescreensrv_plat/homescreen_information_api/inc |
81 $$PWD/homescreensrv_plat/homescreen_information_api/inc |
84 } |
82 } |
85 |
83 |
86 plugin: !isEmpty(PLUGIN_SUBDIR): DESTDIR = $$OUTPUT_DIR/$$PLUGIN_SUBDIR |
84 plugin: !isEmpty(PLUGIN_SUBDIR): DESTDIR = $$OUTPUT_DIR/$$PLUGIN_SUBDIR |
87 |
85 |
88 win32: plugin { # copy manifiers |
86 !symbian: plugin { # copy manifiers |
89 manifest.path = $$DESTDIR |
87 manifest.path = $$DESTDIR |
90 manifest.files = ./resource/*.manifest ./resource/*.xml |
88 manifest.files = ./resource/*.manifest ./resource/*.xml |
91 manifest.CONFIG += no_build |
89 manifest.CONFIG += no_build |
92 |
90 |
93 INSTALLS += manifest |
91 INSTALLS += manifest |
103 DEPLOYMENT += pluginstub |
101 DEPLOYMENT += pluginstub |
104 |
102 |
105 qtplugins.path = $$PLUGIN_SUBDIR |
103 qtplugins.path = $$PLUGIN_SUBDIR |
106 qtplugins.sources += qmakepluginstubs/$${TARGET}.qtplugin |
104 qtplugins.sources += qmakepluginstubs/$${TARGET}.qtplugin |
107 |
105 |
108 message(Remove "contains(MOBILITY, serviceframework)" after the QtSF refactorig is done!) |
|
109 |
|
110 !contains(MOBILITY, serviceframework):qtplugins.sources += resource/$${TARGET}.manifest |
|
111 contains(MOBILITY, serviceframework):BLD_INF_RULES.prj_exports += "resource/$${TARGET}.xml z:$$qtplugins.path/$${TARGET}.xml" |
106 contains(MOBILITY, serviceframework):BLD_INF_RULES.prj_exports += "resource/$${TARGET}.xml z:$$qtplugins.path/$${TARGET}.xml" |
112 |
107 |
113 for(qtplugin, qtplugins.sources):BLD_INF_RULES.prj_exports += "./$$qtplugin z:$$qtplugins.path/$$basename(qtplugin)" |
108 for(qtplugin, qtplugins.sources):BLD_INF_RULES.prj_exports += "./$$qtplugin z:$$qtplugins.path/$$basename(qtplugin)" |
114 } |
109 } |
115 |
110 |
118 for(subdirs, 1) { |
113 for(subdirs, 1) { |
119 entries = $$files($$subdirs) |
114 entries = $$files($$subdirs) |
120 for(entry, entries) : BLD_INF_RULES.prj_exports += "./$$entry z:/$$replace(2, ^/,)/$$basename(entry)" |
115 for(entry, entries) : BLD_INF_RULES.prj_exports += "./$$entry z:/$$replace(2, ^/,)/$$basename(entry)" |
121 } |
116 } |
122 export ( BLD_INF_RULES.prj_exports) |
117 export ( BLD_INF_RULES.prj_exports) |
123 } |
118 } else { |
124 win32 { |
|
125 name = $$replace(1, [/\\\\\.\*], _) |
119 name = $$replace(1, [/\\\\\.\*], _) |
126 eval ($${name}.path = $${OUTPUT_DIR}/$${2}) |
120 eval ($${name}.path = $${OUTPUT_DIR}/$${2}) |
127 eval ($${name}.files = $$1) |
121 eval ($${name}.files = $$1) |
128 eval ($${name}.CONFIG += no_build) |
122 eval ($${name}.CONFIG += no_build) |
129 |
123 |