summaryrefslogtreecommitdiffstats
path: root/package/package.pro
diff options
context:
space:
mode:
authorTasuku Suzuki <tasuku.suzuki@qt.io>2016-12-14 18:10:54 +0900
committerTasuku Suzuki <tasuku.suzuki@qt.io>2016-12-14 23:23:02 +0900
commitb90978a93e23a91d8c3f4fa8ec023c60340bdea5 (patch)
tree3b4b61098af36f87aedc147724e78258f11e9e7c /package/package.pro
parent0c6dc3554d0afda54c671f0416cf77cb5e20814f (diff)
merge the Settings in CES2017 and bindings from ALPS
Change-Id: I00a7a6c5dae1cd579f91d543b0f5fba4616a633b Signed-off-by: Tasuku Suzuki <tasuku.suzuki@qt.io>
Diffstat (limited to 'package/package.pro')
-rw-r--r--package/package.pro21
1 files changed, 21 insertions, 0 deletions
diff --git a/package/package.pro b/package/package.pro
new file mode 100644
index 0000000..125a378
--- /dev/null
+++ b/package/package.pro
@@ -0,0 +1,21 @@
+
+DISTFILES = icon.svg config.xml
+
+!equals($$_PRO_FILE_PWD_, $$OUT_PWD) {
+ 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 settings.wgt root
+
+QMAKE_EXTRA_TARGETS += wgt