Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Why was minSDKVersion for Android raised to 16 on Qt5.7+ ?

Why was minSDKVersion for Android raised to 16 on Qt5.7+ ?

Scheduled Pinned Locked Moved Solved Mobile and Embedded
3 Posts 2 Posters 891 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
    lkdem
    wrote on last edited by
    #1

    Well the title says it:
    Was there a specific reason to raise the minimum supported Android API?
    The only thing I've found was https://codereview.qt-project.org/#/c/143248/ which seems to be mostly about removing checks for older API versions.
    Is there anything in Qt >= 5.7 that absolutely requires API 16+ (apart from some features that will not be available on older API) ?
    It would be nice if it was possible to build newer Versions of Qt for the older API, even if it means that some features won't work.

    raven-worxR 1 Reply Last reply
    0
    • L lkdem

      Well the title says it:
      Was there a specific reason to raise the minimum supported Android API?
      The only thing I've found was https://codereview.qt-project.org/#/c/143248/ which seems to be mostly about removing checks for older API versions.
      Is there anything in Qt >= 5.7 that absolutely requires API 16+ (apart from some features that will not be available on older API) ?
      It would be nice if it was possible to build newer Versions of Qt for the older API, even if it means that some features won't work.

      raven-worxR Offline
      raven-worxR Offline
      raven-worx
      Moderators
      wrote on last edited by
      #2

      @lkdem said in Why was minSDKVersion for Android raised to 16 on Qt5.7+ ?:

      It would be nice if it was possible to build newer Versions of Qt for the older API, even if it means that some features won't work.

      try it. Just replace the min sdk version in the build.gradle and see if it the java part compiles and your app successfully runs (no crucial exceptions are thrown)

      --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
      If you have a question please use the forum so others can benefit from the solution in the future

      1 Reply Last reply
      0
      • L Offline
        L Offline
        lkdem
        wrote on last edited by
        #3

        Okay, I've got it working:
        The trick is to keep the minSdkVersion entry in AndroidManifest.xml at 16 and only set it to a lower value in build.gradle, as androiddeployqt checks AndroidManifest.xml and stops if the version is < 16.

        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 Extensions
        • Unsolved