2 DISTFILES = icon.svg config.xml
4 copy_icon.target = $$OUT_PWD/root/icon.svg
5 copy_icon.depends = $$_PRO_FILE_PWD_/icon.svg
6 copy_icon.commands = $(COPY_FILE) \"$$replace(copy_icon.depends, /, $$QMAKE_DIR_SEP)\" \"$$replace(copy_icon.target, /, $$QMAKE_DIR_SEP)\"
7 QMAKE_EXTRA_TARGETS += copy_icon
8 PRE_TARGETDEPS += $$copy_icon.target
10 copy_config.target = $$OUT_PWD/root/config.xml
11 copy_config.depends = $$_PRO_FILE_PWD_/config.xml
12 copy_config.commands = $(COPY_FILE) \"$$replace(copy_config.depends, /, $$QMAKE_DIR_SEP)\" \"$$replace(copy_config.target, /, $$QMAKE_DIR_SEP)\"
13 QMAKE_EXTRA_TARGETS += copy_config
14 PRE_TARGETDEPS += $$copy_config.target
17 wgt.commands = wgtpkg-pack -f -o mediaplayer.wgt root
19 QMAKE_EXTRA_TARGETS += wgt