summaryrefslogtreecommitdiffstats
path: root/examples/applicationmanager/intents/intents.pro
diff options
context:
space:
mode:
authorRobert Griebl <robert.griebl@pelagicore.com>2018-10-08 18:22:12 +0200
committerDominik Holland <dominik.holland@pelagicore.com>2018-10-12 09:44:35 +0000
commita54b61a7b17c0dc94441dba10243f364a57bcbb6 (patch)
tree6d6e649faa4542456e54266f9aea7cf5dc28be8d /examples/applicationmanager/intents/intents.pro
parent8ced28c4c8d96be151fbb646d9bf08265f29249b (diff)
Add support for Intents for both single- and multi-process mode
This commit adds support for Intents, aka. a loosely coupled IPC between arbitrary applications in the AM system. (please read https://wiki.qt.io/QtAppMan-Intents for same background information). The core implementation on both server and client side in this patch is not dependent on the AM itself (apart from the common-lib for convenience sake, but this dependency could easily be removed). There are 2 interfaces that are implemented in the manager-lib and launcher-lib that connect the Intent core to the actual AM and AM's qml runtime launcher. Missing features: - updating the list of intents on app installation and removal - support for background services in the AM itself - support for "file-handles" in the request and reply part - documentation - an example that is better focused on intents themselves Change-Id: Ia7cab2bb569fb2cdb8e5ab7e8167e477cff3068c Reviewed-by: Dominik Holland <dominik.holland@pelagicore.com>
Diffstat (limited to 'examples/applicationmanager/intents/intents.pro')
-rw-r--r--examples/applicationmanager/intents/intents.pro26
1 files changed, 26 insertions, 0 deletions
diff --git a/examples/applicationmanager/intents/intents.pro b/examples/applicationmanager/intents/intents.pro
new file mode 100644
index 00000000..d519e1a0
--- /dev/null
+++ b/examples/applicationmanager/intents/intents.pro
@@ -0,0 +1,26 @@
+TEMPLATE = app
+CONFIG += am-systemui
+
+OTHER_FILES += \
+ *.qml \
+ apps/hello-world.blue/*.yaml \
+ apps/hello-world.blue/*.qml \
+ apps/hello-world.blue/*.png \
+ apps/hello-world.green/*.yaml \
+ apps/hello-world.green/*.qml \
+ apps/hello-world.green/*.png \
+ apps/hello-world.red/*.yaml \
+ apps/hello-world.red/*.qml \
+ apps/hello-world.red/*.png \
+
+target.path = $$[QT_INSTALL_EXAMPLES]/applicationmanager/intents
+INSTALLS += target
+
+AM_COPY_DIRECTORIES += apps
+AM_COPY_FILES += system-ui.qml
+
+AM_DEFAULT_ARGS=--builtin-apps-manifest-dir $$target.path/apps $$target.path/system-ui.qml
+
+example_sources.path = $$target.path
+example_sources.files = $$AM_COPY_FILES $$AM_COPY_DIRECTORIES
+INSTALLS += example_sources