summaryrefslogtreecommitdiffstats
path: root/package/package.pro
diff options
context:
space:
mode:
authorTasuku Suzuki <tasuku.suzuki@qt.io>2018-01-04 23:43:58 +0900
committerTasuku Suzuki <tasuku.suzuki@qt.io>2018-01-05 10:35:23 +0900
commit64551c373988866607cc4af49e8b3e55aa0d218e (patch)
tree057e812bb7c6fe571da864cef74192abc233f0aa /package/package.pro
parent338e945a4315a3951211290eb2ae248faadb1535 (diff)
Change-Id: I4fb664a8520f02bc8e8eb8a87aa14c52d0fe8800 Signed-off-by: Tasuku Suzuki <tasuku.suzuki@qt.io>
Diffstat (limited to 'package/package.pro')
-rw-r--r--package/package.pro23
1 files changed, 23 insertions, 0 deletions
diff --git a/package/package.pro b/package/package.pro
new file mode 100644
index 0000000..1b97041
--- /dev/null
+++ b/package/package.pro
@@ -0,0 +1,23 @@
+
+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 videoplayer.wgt root
+
+QMAKE_EXTRA_TARGETS += wgt
+
+deploy.files = videoplayer.wgt
+deploy.path = /usr/AGL/apps/autoinstall
+INSTALLS += deploy