[Interest] Qt Creator: target SDK versions are grayed out?

ekke ekke at ekkes-corner.org
Thu Jul 15 13:05:21 CEST 2021


Am 15.07.21 um 12:44 schrieb Alexander Dyagilev:
>
> Hello,
>
> Why can't I choose target sdk versions here?
>
> It's a new project. All I did is created templates using the 
> appropriate Qt Creator button.
>
this is because Min and Target SDK isn't part of Android Manifest 
anymore - it's now part of Gradle.properties

you have to set this in .pro, per ex.:

ANDROID_MIN_SDK_VERSION="21"

ANDROID_TARGET_SDK_VERSION="29"

then it will be auto-magically set into Gradle.properties - you can 
verify this from your shadow build

ekke

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20210715/c10bd659/attachment.html>


More information about the Interest mailing list