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 +}