When calling androiddeployqt with parameter --install --no-build, it will try to uninstall a package with a wrong package name. The adb line:
The "org.qtproject.example.<packagename>" is incorrect. The package name needs to be read from the AndroidManifest.xml, but that only happens if androiddeployqt is called without --no-build.
Suggestion: the function updateAndroidManifest() should be split into a part that updates the manifest and one that parses the manifest to get packagename and versions. The second function should also be called when --no-build is specified. I would do it, but I am unsure about the checkOldAndroidLabelString check which I don't understand and which makes the splitting of that function a bit trickier.
Original bug report description:
Whenever I sign my package and try to install it, I get a popup in QC saying:
Another application with the same package id but signed with different ceritificate already exists.
Do you want to uninstall the existing package next time?
Beside the fact that there is a typo in the above in certificate, it appears to make no difference if I click Yes or No buttons, I need to manually uninstall the previous package anyway.
Not sure what Yes should do, should it uninstall it for me?