Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt
  • Unsolved
Collapse
qtws26_logo

The Qt Event of the Year: Qt World Summit 2026

Save Your Spot >
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. QtCreator keeps on using Android Platform 23 (Qt6.5)
Qt 6.12 LTS is out! See what's new in the release blog

QtCreator keeps on using Android Platform 23 (Qt6.5)

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
3 Posts 2 Posters 1.1k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    laxn_pander
    wrote on last edited by
    #1

    Hey all,

    I am beginning to get very frustrated with qtcreator falling back to ANDROID_PLATFORM=android-23.

    My setup is as follow:

    qt1.png

    With the following build configuration:

    qt2.png

    Yet, when I run CMake:

    qt3.png

    I've tried to set all flags I found to 33. I even tried to add a custom manifest and set minimum SDK levels without luck. Any idea what variable I need to change?

    Thanks and best regards,

    Alex

    L 1 Reply Last reply
    0
    • L laxn_pander

      Hey all,

      I am beginning to get very frustrated with qtcreator falling back to ANDROID_PLATFORM=android-23.

      My setup is as follow:

      qt1.png

      With the following build configuration:

      qt2.png

      Yet, when I run CMake:

      qt3.png

      I've tried to set all flags I found to 33. I even tried to add a custom manifest and set minimum SDK levels without luck. Any idea what variable I need to change?

      Thanks and best regards,

      Alex

      L Offline
      L Offline
      lemons
      wrote on last edited by
      #2

      Those are my currently working settings for Android target version 33 with Qt 5.15 (maybe this helps you):

      # project.pro
      android {
          QT += androidextras
          # ...
          ANDROID_MIN_SDK_VERSION = 21
          ANDROID_TARGET_SDK_VERSION = 33
      }
      
      # android/gradle.properties
      org.gradle.jvmargs=-Xmx2048m
      androidBuildToolsVersion=33.0.2
      androidCompileSdkVersion=33
      qtMinSdkVersion=21
      qtTargetSdkVersion=33
      
      # android/gradle/wrapper/gradle-wrapper.properties
      distributionBase=GRADLE_USER_HOME
      distributionPath=wrapper/dists
      distributionUrl=https\://services.gradle.org/distributions/gradle-6.1.1-all.zip
      zipStoreBase=GRADLE_USER_HOME
      zipStorePath=wrapper/dists
      
      L 1 Reply Last reply
      1
      • L lemons

        Those are my currently working settings for Android target version 33 with Qt 5.15 (maybe this helps you):

        # project.pro
        android {
            QT += androidextras
            # ...
            ANDROID_MIN_SDK_VERSION = 21
            ANDROID_TARGET_SDK_VERSION = 33
        }
        
        # android/gradle.properties
        org.gradle.jvmargs=-Xmx2048m
        androidBuildToolsVersion=33.0.2
        androidCompileSdkVersion=33
        qtMinSdkVersion=21
        qtTargetSdkVersion=33
        
        # android/gradle/wrapper/gradle-wrapper.properties
        distributionBase=GRADLE_USER_HOME
        distributionPath=wrapper/dists
        distributionUrl=https\://services.gradle.org/distributions/gradle-6.1.1-all.zip
        zipStoreBase=GRADLE_USER_HOME
        zipStorePath=wrapper/dists
        
        L Offline
        L Offline
        laxn_pander
        wrote on last edited by
        #3

        @lemons Thanks! Found a related bug report though:

        https://bugreports.qt.io/browse/QTCREATORBUG-29112?jql=text ~ "Defining ANDROID_PLATFORM in an Android kit's CMake"

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt
        • Unsolved