QtApp for android: How to auto-increment version using ant's build.xml ?
-
In my QtApp which builds fine for android, I need to
auto-increment the versionCode
of my app with every build using ant as described in below example.
http://stackoverflow.com/questions/1431315/build-numbers-major-minor-revisionI am doing the build command line using the following command:
androiddeployqt --sign mykey.keystore myAlias --storepass myPassword --output android --verbose --input android-libMyQtApp.so-deployment-settings.json
How can introduce my own
build.xml
into myQtApp
& do process described in link above ? -
I would just use this script to increase the versionCode in AndroidManifest.xml directly.
Usage:
https://github.com/benlau/qtci#5-binincrease-android-version-codeScript:
https://github.com/benlau/qtci/blob/master/bin/increase-android-version-code