From ef88fdc9a4559cb32a88265f91ab48705cabc9ce Mon Sep 17 00:00:00 2001 From: Siegfried Siegert Date: Thu, 3 Aug 2023 09:50:26 +0200 Subject: [PATCH] Fix: config for deployment --- OnDemandUpdatePTU.pro | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/OnDemandUpdatePTU.pro b/OnDemandUpdatePTU.pro index a711fb5..84e9d3f 100644 --- a/OnDemandUpdatePTU.pro +++ b/OnDemandUpdatePTU.pro @@ -114,7 +114,12 @@ OTHER_FILES += \ # git subtree pull --prefix DCPlugin https://git.mimbach49.de/GerhardHoffmann/DCPlugin.git master --squash # include(./DCPlugin/DCPlugin.pri) -# Default rules for deployment. -qnx: target.path = /tmp/$${TARGET}/bin -else: unix:!android: target.path = /opt/app/tools/atbupdate/$${TARGET} -!isEmpty(target.path): INSTALLS += target + + +########################################################################################## +# for running program on target through QtCreator +contains( CONFIG, PTU5 ) { + qnx: target.path = /tmp/$${TARGET}/bin + else: unix:!android: target.path = /opt/app/tools/atbupdate/ + !isEmpty(target.path): INSTALLS += target +}