84 $$PWD/homescreensrv_plat/servicemodel_api \ |
84 $$PWD/homescreensrv_plat/servicemodel_api \ |
85 $$PWD/homescreensrv_plat/statemodel_api \ |
85 $$PWD/homescreensrv_plat/statemodel_api \ |
86 $$PWD/homescreensrv_plat/homescreen_information_api/inc |
86 $$PWD/homescreensrv_plat/homescreen_information_api/inc |
87 } |
87 } |
88 |
88 |
|
89 plugin: !isEmpty(PLUGIN_SUBDIR): DESTDIR = $$OUTPUT_DIR/$$PLUGIN_SUBDIR |
|
90 |
|
91 win32: plugin { # copy manifiers |
|
92 manifest.path = $$DESTDIR |
|
93 manifest.files = ./resource/*.manifest ./resource/*.xml |
|
94 manifest.CONFIG += no_build |
|
95 |
|
96 INSTALLS += manifest |
|
97 PRE_TARGETDEPS += install_manifest |
|
98 |
|
99 } |
|
100 |
|
101 symbian: plugin { # copy qtstub and manifest |
|
102 |
|
103 pluginstub.sources = $${TARGET}.dll |
|
104 pluginstub.path = $$PLUGIN_SUBDIR |
|
105 |
|
106 DEPLOYMENT += pluginstub |
|
107 |
|
108 qtplugins.path = $$PLUGIN_SUBDIR |
|
109 qtplugins.sources += qmakepluginstubs/$${TARGET}.qtplugin |
|
110 |
|
111 message(Remove "contains(MOBILITY, serviceframework)" after the QtSF refactorig is done!) |
|
112 |
|
113 !contains(MOBILITY, serviceframework):qtplugins.sources += resource/$${TARGET}.manifest |
|
114 contains(MOBILITY, serviceframework):BLD_INF_RULES.prj_exports += "resource/$${TARGET}.xml z:$$qtplugins.path/$${TARGET}.xml" |
|
115 |
|
116 for(qtplugin, qtplugins.sources):BLD_INF_RULES.prj_exports += "./$$qtplugin z:$$qtplugins.path/$$basename(qtplugin)" |
|
117 } |
|
118 |
89 defineTest(exportResources) { |
119 defineTest(exportResources) { |
90 symbian { |
120 symbian { |
91 for(subdirs, 1) { |
121 for(subdirs, 1) { |
92 entries = $$files($$subdirs) |
122 entries = $$files($$subdirs) |
93 for(entry, entries) : BLD_INF_RULES.prj_exports += "./$$entry z:/$$replace(2, ^/,)/$$basename(entry)" |
123 for(entry, entries) : BLD_INF_RULES.prj_exports += "./$$entry z:/$$replace(2, ^/,)/$$basename(entry)" |