From 721d5206c84e5d5b9572fa65be7e17b1eabffe1e Mon Sep 17 00:00:00 2001 From: zheng_wenlong Date: Tue, 13 Nov 2018 09:50:02 +0900 Subject: Add homescreen for horizontal mode Add homescreen source for horizontal mode. [PatchSet3] Change folder name to demo3. Change-Id: If134d9c679ed8ceb76fae06ed179f55fe8e79130 Signed-off-by: zheng_wenlong --- demo3/horizontal/homescreen/package/config.xml | 21 ++ demo3/horizontal/homescreen/package/icon.svg | 279 ++++++++++++++++++++++++ demo3/horizontal/homescreen/package/package.pro | 22 ++ 3 files changed, 322 insertions(+) create mode 100644 demo3/horizontal/homescreen/package/config.xml create mode 100644 demo3/horizontal/homescreen/package/icon.svg create mode 100644 demo3/horizontal/homescreen/package/package.pro (limited to 'demo3/horizontal/homescreen/package') diff --git a/demo3/horizontal/homescreen/package/config.xml b/demo3/horizontal/homescreen/package/config.xml new file mode 100644 index 0000000..32d19fd --- /dev/null +++ b/demo3/horizontal/homescreen/package/config.xml @@ -0,0 +1,21 @@ + + + homescreen + + + This is a demo application for homescreen + TOYOTA + APL 2.0 + + + + + + + + + + + + + diff --git a/demo3/horizontal/homescreen/package/icon.svg b/demo3/horizontal/homescreen/package/icon.svg new file mode 100644 index 0000000..91661a7 --- /dev/null +++ b/demo3/horizontal/homescreen/package/icon.svg @@ -0,0 +1,279 @@ + + + +image/svg+xmlMULTIMEDIA + \ No newline at end of file diff --git a/demo3/horizontal/homescreen/package/package.pro b/demo3/horizontal/homescreen/package/package.pro new file mode 100644 index 0000000..09c7a01 --- /dev/null +++ b/demo3/horizontal/homescreen/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 homescreen.wgt root + +QMAKE_EXTRA_TARGETS += wgt + +deploy.files = homescreen.wgt +deploy.path = /usr/AGL/apps/autoinstall +INSTALLS += deploy -- cgit 1.2.3-korg