Thanks, it does the trick, I guess I will have another version of the AndroidManifest.xml to maintain to support 5.12-, one for 5.13 & 5.14 and one for 5.15+.
It's a nice addition, but it would be nice to have something into QtCreator to tell us breaking changes between Qt version especially for Android and iOS (those move quickly and it's hard to follow the requirements change to be done to the projects in order to make them work). Thanks, it does work, ________________________________ From: Interest <interest-boun...@qt-project.org> on behalf of maitai <mai...@virtual-winds.org> Sent: Wednesday, October 21, 2020 2:30 AM To: interest@qt-project.org <interest@qt-project.org> Subject: Re: [Interest] Android manifest min sdk with 5.15.1 Hi, Min SDK and Target SDK are now variables that you should set in the pro file, for instance ANDROID_MIN_SDK_VERSION = 21 ANDROID_TARGET_SDK_VERSION = 29 See here: https://doc.qt.io/qt-5/qmake-variable-reference.html -- Philippe Le 20-10-2020 22:58, Jérôme Godbout a écrit : Hi, I run into trouble when I try to sign my package application with 5.15.1 (without signing it build correctly and run just fine): Caused by: com.android.builder.errors.EvalIssueException: Failed to parse XML in D:\Code\build\MyApp-Android_Qt_5_15_1_Clang_Multi_Abi-Release\android-build\AndroidManifest.xml The minSdk version should not be declared in the android manifest file. You can move the version from the manifest to the defaultConfig in the build.gradle file Anybody known why and how we can change this with Qt build?! I can easily remove it from the manifest, but the gradle file are auto generated by the Qt application no, I never add any to my project at least. Or there is something that have changed with the Android setup? How does one provide the build.gradle file to Qt exactly? Thanks, Jerome _______________________________________________ Interest mailing list Interest@qt-project.org<mailto:Interest@qt-project.org> https://lists.qt-project.org/listinfo/interest
_______________________________________________ Interest mailing list Interest@qt-project.org https://lists.qt-project.org/listinfo/interest