<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
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+.</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
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).</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
Thanks, it does work,</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<br>
</div>
<div>
<div id="appendonsend"></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size: 11pt;"><b>From:</b> Interest <interest-bounces@qt-project.org> on behalf of maitai <maitai@virtual-winds.org><br>
<b>Sent:</b> Wednesday, October 21, 2020 2:30 AM<br>
<b>To:</b> interest@qt-project.org <interest@qt-project.org><br>
<b>Subject:</b> Re: [Interest] Android manifest min sdk with 5.15.1</font>
<div> </div>
</div>
<div style="font-size:10pt; font-family:Verdana,Geneva,sans-serif">
<p>Hi,</p>
<p>Min SDK and Target SDK are now variables that you should set in the pro file, for instance</p>
<p>ANDROID_MIN_SDK_VERSION = 21<br>
ANDROID_TARGET_SDK_VERSION<span> </span>=<span> </span>29</p>
<p>See here: <a href="https://doc.qt.io/qt-5/qmake-variable-reference.html">https://doc.qt.io/qt-5/qmake-variable-reference.html</a></p>
<p>-- Philippe</p>
<div id="x_signature"> </div>
<p><br>
</p>
<p id="x_reply-intro">Le 20-10-2020 22:58, Jérôme Godbout a écrit :</p>
<blockquote type="cite" style="padding:0 0.4em; border-left:#1010ff 2px solid; margin:0">
<div id="x_replybody1">
<div lang="EN-CA" style="word-wrap:break-word">
<div class="x_v1WordSection1">
<p class="x_v1MsoNormal" style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif; background-color: white;">
<span style="font-size: 11.5pt; font-family: Arial, sans-serif; color: rgb(29, 28, 29);">Hi,
</span></p>
<p class="x_v1MsoNormal" style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif; background-color: white;">
<span style="font-size: 11.5pt; font-family: Arial, sans-serif; color: rgb(29, 28, 29);"> </span></p>
<p class="x_v1MsoNormal" style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif; background-color: white;">
<span style="font-size: 11.5pt; font-family: Arial, sans-serif; color: rgb(29, 28, 29);">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):</span></p>
<p class="x_v1MsoNormal" style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;margin-right:0cm; margin-bottom:3.0pt; margin-left:0cm">
<span style="font-size: 9pt; font-family: "Courier New"; color: rgb(29, 28, 29);">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<br>
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</span></p>
<p class="x_v1MsoNormal" style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif; background-color: white;">
<span style="font-size: 11.5pt; font-family: Arial, sans-serif; color: rgb(29, 28, 29);"> </span></p>
<p class="x_v1MsoNormal" style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif; background-color: white;">
<span style="font-size: 11.5pt; font-family: Arial, sans-serif; color: rgb(29, 28, 29);">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?</span></p>
<p class="x_v1MsoNormal" style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif; background-color: white;">
<span style="font-size: 11.5pt; font-family: Arial, sans-serif; color: rgb(29, 28, 29);"> </span></p>
<p class="x_v1MsoNormal" style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif; background-color: white;">
<span style="font-size: 11.5pt; font-family: Arial, sans-serif; color: rgb(29, 28, 29);">How does one provide the build.gradle file to Qt exactly?</span></p>
<p class="x_v1MsoNormal" style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif; background-color: white;">
<span style="font-size: 11.5pt; font-family: Arial, sans-serif; color: rgb(29, 28, 29);"> </span></p>
<p class="x_v1MsoNormal" style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif; background-color: white;">
<span style="font-size: 11.5pt; font-family: Arial, sans-serif; color: rgb(29, 28, 29);">Thanks,</span></p>
<p class="x_v1MsoNormal" style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif; background-color: white;">
<span style="font-size: 11.5pt; font-family: Arial, sans-serif; color: rgb(29, 28, 29);">Jerome</span></p>
</div>
</div>
</div>
<br>
<div class="x_pre" style="margin:0; padding:0; font-family:monospace">_______________________________________________<br>
Interest mailing list<br>
<a href="mailto:Interest@qt-project.org">Interest@qt-project.org</a><br>
<a href="https://lists.qt-project.org/listinfo/interest" target="_blank" rel="noopener noreferrer">https://lists.qt-project.org/listinfo/interest</a></div>
</blockquote>
</div>
</div>
</body>
</html>