summaryrefslogtreecommitdiffstats
path: root/examples/applicationmanager/intents/intents.pro
diff options
context:
space:
mode:
authorRobert Griebl <robert.griebl@pelagicore.com>2018-10-17 18:05:05 +0200
committerDaniel d'Andrada <daniel.dandrada@luxoft.com>2018-10-24 14:54:55 +0000
commit68c88b3456c20bcdea5df1b297fce03deed954ed (patch)
treefe7637a99ffc90d16a6e918df63f08ead325f9fa /examples/applicationmanager/intents/intents.pro
parent5c08826b6c794fe67ed2ebecca4a53ecf918ecca (diff)
Heavily extended the intents example
These intents features are now available: - requests from the system-ui - disambiguation when no applicationId is specified - requesting from/replying to an in-process app (green is always running as a single-process app) - private intents (blue-window-private) - intents that require capabilities (only the sysui and red can call rotate-window on blue) Also, the example wrapper script is now able to deal with developer builds. Change-Id: I9ff2d6012b2c9cf29e32abaaa7d4fa3b3122944e Reviewed-by: Daniel d'Andrada <daniel.dandrada@luxoft.com>
Diffstat (limited to 'examples/applicationmanager/intents/intents.pro')
-rw-r--r--examples/applicationmanager/intents/intents.pro26
1 files changed, 15 insertions, 11 deletions
diff --git a/examples/applicationmanager/intents/intents.pro b/examples/applicationmanager/intents/intents.pro
index d519e1a0..10e552a3 100644
--- a/examples/applicationmanager/intents/intents.pro
+++ b/examples/applicationmanager/intents/intents.pro
@@ -3,23 +3,27 @@ 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 \
+ shared/*.qml \
+ apps/intents.blue/*.yaml \
+ apps/intents.blue/*.qml \
+ apps/intents.blue/*.png \
+ apps/intents.green/*.yaml \
+ apps/intents.green/*.qml \
+ apps/intents.green/*.png \
+ apps/intents.red/*.yaml \
+ apps/intents.red/*.qml \
+ apps/intents.red/*.png \
target.path = $$[QT_INSTALL_EXAMPLES]/applicationmanager/intents
INSTALLS += target
-AM_COPY_DIRECTORIES += apps
+AM_COPY_DIRECTORIES += apps shared
AM_COPY_FILES += system-ui.qml
-AM_DEFAULT_ARGS=--builtin-apps-manifest-dir $$target.path/apps $$target.path/system-ui.qml
+prefix_build:tpath = $$target.path
+else:tpath = $$_PRO_FILE_PWD_
+
+AM_DEFAULT_ARGS = --builtin-apps-manifest-dir $$tpath/apps -o \"ui: { style: material }\" $$tpath/system-ui.qml
example_sources.path = $$target.path
example_sources.files = $$AM_COPY_FILES $$AM_COPY_DIRECTORIES