diff options
author | Robert Griebl <robert.griebl@pelagicore.com> | 2018-11-09 18:01:50 +0100 |
---|---|---|
committer | Robert Griebl <robert.griebl@pelagicore.com> | 2018-11-27 11:15:13 +0000 |
commit | 1217a6c5813790742f62b297bc33704f20e9d626 (patch) | |
tree | 7574babd49b7e5e93831ca18ad7476f7349c42ee /examples/applicationmanager/minidesk | |
parent | 1421d584b7592e364d3d98b3c2d4aea101e931a2 (diff) |
Make examples executable from QtCreator also for dev builds
Change-Id: I3ebaf012ab0698445fd46b323f2aaa5fde89b985
Reviewed-by: Dominik Holland <dominik.holland@pelagicore.com>
Diffstat (limited to 'examples/applicationmanager/minidesk')
-rw-r--r-- | examples/applicationmanager/minidesk/minidesk.pro | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/examples/applicationmanager/minidesk/minidesk.pro b/examples/applicationmanager/minidesk/minidesk.pro index d12a6917..bf101c46 100644 --- a/examples/applicationmanager/minidesk/minidesk.pro +++ b/examples/applicationmanager/minidesk/minidesk.pro @@ -20,7 +20,10 @@ 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 +prefix_build:tpath = $$target.path +else:tpath = $$_PRO_FILE_PWD_ + +AM_DEFAULT_ARGS = -c $$tpath/am-config.yaml --start-session-dbus --verbose example_sources.path = $$target.path example_sources.files = $$AM_COPY_FILES $$AM_COPY_DIRECTORIES doc |