summaryrefslogtreecommitdiffstats
path: root/examples/applicationmanager/minidesk/minidesk.pro
diff options
context:
space:
mode:
authorDaniel d'Andrada <daniel.dandrada@luxoft.com>2018-07-10 14:40:25 +0200
committerRobert Griebl <robert.griebl@pelagicore.com>2018-07-11 11:57:12 +0000
commitba2a7ede9e1689c03099cd0ef619bc18cda29ef4 (patch)
tree043a0d1581988a56b5fd9956814defa774f3a031 /examples/applicationmanager/minidesk/minidesk.pro
parentc414cb25d0cc2f7ce33e21e15ff52bc14d6421ad (diff)
Fix installation of the examples
- Only the project files and wrapper scripts were being installed - They were being put directly into Qt's example dir. They should be grouped into a applicationmanager subdirectory there, similarly to what other modules do. Task-number: AUTOSUITE-591 Change-Id: I1da6b28a8fe2e9210ad109309d30dfc1ad0d1e99 Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
Diffstat (limited to 'examples/applicationmanager/minidesk/minidesk.pro')
-rw-r--r--examples/applicationmanager/minidesk/minidesk.pro27
1 files changed, 27 insertions, 0 deletions
diff --git a/examples/applicationmanager/minidesk/minidesk.pro b/examples/applicationmanager/minidesk/minidesk.pro
new file mode 100644
index 00000000..d12a6917
--- /dev/null
+++ b/examples/applicationmanager/minidesk/minidesk.pro
@@ -0,0 +1,27 @@
+TEMPLATE = app
+CONFIG += am-systemui
+
+OTHER_FILES += \
+ am-config.yaml \
+ minidesk.qmlproject \
+ doc/src/*.qdoc \
+ doc/images/*.png \
+ system-ui/*.qml \
+ apps/tld.minidesk.app1/*.yaml \
+ apps/tld.minidesk.app1/*.qml \
+ apps/tld.minidesk.app1/*.png \
+ apps/tld.minidesk.app2/*.yaml \
+ apps/tld.minidesk.app2/*.qml \
+ apps/tld.minidesk.app2/*.png \
+
+target.path = $$[QT_INSTALL_EXAMPLES]/applicationmanager/minidesk
+INSTALLS += target
+
+AM_COPY_DIRECTORIES += apps system-ui
+AM_COPY_FILES += am-config.yaml
+
+AM_DEFAULT_ARGS=-c am-config.yaml --start-session-dbus --verbose
+
+example_sources.path = $$target.path
+example_sources.files = $$AM_COPY_FILES $$AM_COPY_DIRECTORIES doc
+INSTALLS += example_sources