summaryrefslogtreecommitdiffstats
path: root/demo3/vertical/restriction/package/package.pro
diff options
context:
space:
mode:
authorzheng_wenlong <wenlong_zheng@nexty-ele.com>2018-11-14 13:01:56 +0900
committerzheng_wenlong <wenlong_zheng@nexty-ele.com>2018-11-14 13:01:56 +0900
commit36fe083c39bef0a17328f008d4935a562efa123b (patch)
tree2aeff4166711be57aa79cad0bf9b74f0468f5dd0 /demo3/vertical/restriction/package/package.pro
parent990474de8e93bf295e2aa65610c5298c4faac364 (diff)
This applciation is used to display restriction text, When car is running and videoplayer is showing. Change-Id: If8f287cd129638ccc0c87d03cc9dc7c53953f916 Signed-off-by: zheng_wenlong <wenlong_zheng@nexty-ele.com>
Diffstat (limited to 'demo3/vertical/restriction/package/package.pro')
-rw-r--r--demo3/vertical/restriction/package/package.pro18
1 files changed, 18 insertions, 0 deletions
diff --git a/demo3/vertical/restriction/package/package.pro b/demo3/vertical/restriction/package/package.pro
new file mode 100644
index 0000000..af8e627
--- /dev/null
+++ b/demo3/vertical/restriction/package/package.pro
@@ -0,0 +1,18 @@
+DISTFILES = icon.svg config.xml
+
+copy_icon.target = $$OUT_PWD/root/icon.svg
+copy_icon.depends = $$_PRO_FILE_PWD_/icon.svg
+copy_icon.commands = $(COPY_FILE) \"$$replace(copy_icon.depends, /, $$QMAKE_DIR_SEP)\" \"$$replace(copy_icon.target, /, $$QMAKE_DIR_SEP)\"
+QMAKE_EXTRA_TARGETS += copy_icon
+PRE_TARGETDEPS += $$copy_icon.target
+
+copy_config.target = $$OUT_PWD/root/config.xml
+copy_config.depends = $$_PRO_FILE_PWD_/config.xml
+copy_config.commands = $(COPY_FILE) \"$$replace(copy_config.depends, /, $$QMAKE_DIR_SEP)\" \"$$replace(copy_config.target, /, $$QMAKE_DIR_SEP)\"
+QMAKE_EXTRA_TARGETS += copy_config
+PRE_TARGETDEPS += $$copy_config.target
+
+wgt.target = package
+wgt.commands = wgtpkg-pack -f -o restriction.wgt root
+
+QMAKE_EXTRA_TARGETS += wgt