summaryrefslogtreecommitdiffstats
path: root/package/package.pro
diff options
context:
space:
mode:
authorzheng_wenlong <wenlong_zheng@nexty-ele.com>2018-06-19 15:00:46 +0900
committerzheng_wenlong <wenlong_zheng@nexty-ele.com>2018-06-27 14:54:23 +0900
commitcde1f8b32286b263040cd1d9360f4b8835699505 (patch)
treedce7f4fc1faf575dc47b7362f3f3ffb759ad9045 /package/package.pro
parentaf18398e4ea4b8f86949f31c2766390caeccdbe4 (diff)
Detach launcher application from HomeScreen
Detach launcher application from Homescreen, Use qlibhomescreen instead of homescreenhandle. [Patch sets 3] This application needs qlibhomescreen, add into sdk in 14597. [Patch sets 4] Right now add qlibhomescreen class into src for instead. Delete it after qlibhomescreen is add into sdk. [Patch sets 5] From Jan-Simon advise, waitting for qlibhomescreen sdk. So return to Patch sets 3. Relative commit: https://gerrit.automotivelinux.org/gerrit/#/c/14597/ Task-AGL: SPEC-1518 Change-Id: Ia16aecddd2bf4623038a84254a0c56967ace9b92 Signed-off-by: zheng_wenlong <wenlong_zheng@nexty-ele.com>
Diffstat (limited to 'package/package.pro')
-rw-r--r--package/package.pro22
1 files changed, 22 insertions, 0 deletions
diff --git a/package/package.pro b/package/package.pro
new file mode 100644
index 0000000..0045478
--- /dev/null
+++ b/package/package.pro
@@ -0,0 +1,22 @@
+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 launcher.wgt root
+
+QMAKE_EXTRA_TARGETS += wgt
+
+deploy.files = launcher.wgt
+deploy.path = /usr/AGL/apps/autoinstall
+INSTALLS += deploy