androiddeployqt: Add option to reinstall apk upstream/5.3.0
authorEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
Mon, 19 May 2014 09:00:47 +0000 (11:00 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Mon, 19 May 2014 11:29:32 +0000 (13:29 +0200)
commit3f24e2cc5bfc9fac7c1cfd6ab0dc9b0880e879ea
treeb46f808230ca7b1312e7da486f720d255a0b2eb7
parentd3f406dfe113f0a7f7b1dcd3fada4c2b7e7cd23c
androiddeployqt: Add option to reinstall apk

Mainly for consistency with the old deployment method in Qt Creator,
androiddeployqt will uninstall any previously installed instances
of the application before installing it. This will remove any caches
or user data stored by the application. In many cases (most) it
would be more convenient to just overwrite the existing instance,
but keep all caches intact. This patch adds the --reinstall option,
symmetrical to --install. If enabled, the uninstall step will be
skipped.

[ChangeLog][androiddeployqt] Added option to install an APK without
uninstalling previous instances of same application.

Task-number: QTBUG-35845
Change-Id: I93bed4fefda6ed5295f333002a4958654b3f911c
Reviewed-by: Paul Olav Tvete <paul.tvete@digia.com>
src/androiddeployqt/main.cpp