diff options
author | Kari Oikarinen <kari.oikarinen@qt.io> | 2018-05-02 16:38:07 +0300 |
---|---|---|
committer | Kari Oikarinen <kari.oikarinen@qt.io> | 2018-05-03 08:49:27 +0000 |
commit | 087af4187177c8f06fa91a8640cd0b4e4bca05f4 (patch) | |
tree | ee8311eba4a0b343091b81b640a32bca80437a3a /share | |
parent | 6456e725b9d21fb2a7a27e4694abe39e37536368 (diff) |
Wizards: Add deployment rules to Widgets and Console applications
Otherwise they can't be deployed to Boot2Qt (and other) devices. Quick
application wizards already have these deployment rules.
Task-number: QTCREATORBUG-20358
Change-Id: I5a19ada3f6a382e8553750769478c398a50352c9
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
Reviewed-by: Kari Hormi <kari.hormi@qt.io>
Diffstat (limited to 'share')
-rw-r--r-- | share/qtcreator/templates/wizards/projects/consoleapp/file.pro | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/share/qtcreator/templates/wizards/projects/consoleapp/file.pro b/share/qtcreator/templates/wizards/projects/consoleapp/file.pro index bcd25cfa3b..8cbe4523ae 100644 --- a/share/qtcreator/templates/wizards/projects/consoleapp/file.pro +++ b/share/qtcreator/templates/wizards/projects/consoleapp/file.pro @@ -16,3 +16,8 @@ DEFINES += QT_DEPRECATED_WARNINGS SOURCES += \\ %{CppFileName} + +# Default rules for deployment. +qnx: target.path = /tmp/$${TARGET}/bin +else: unix:!android: target.path = /opt/$${TARGET}/bin +!isEmpty(target.path): INSTALLS += target |