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. QT5 on Android 14
Forum Updated to NodeBB v4.3 + New Features

QT5 on Android 14

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
5 Posts 4 Posters 661 Views 1 Watching
  • 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.
  • R Offline
    R Offline
    RenanHm
    wrote on last edited by
    #1

    Hello... I have QT 5.14.2 where I generate my APK.
    However, the APP works well only up to Android 13 (API 33).
    When installing the APK on Android 14 (API 34), an error occurs when opening the APP. Does not display any messages. Just open and close the APP.

    Could the problem be due to the version of QT I have?
    Will it be necessary to update QT to version 6?
    Is there a list of each version of QT and the version of Android that is supported?

    Thanks in advance.

    JKSHJ M 2 Replies Last reply
    0
    • R RenanHm

      Hello... I have QT 5.14.2 where I generate my APK.
      However, the APP works well only up to Android 13 (API 33).
      When installing the APK on Android 14 (API 34), an error occurs when opening the APP. Does not display any messages. Just open and close the APP.

      Could the problem be due to the version of QT I have?
      Will it be necessary to update QT to version 6?
      Is there a list of each version of QT and the version of Android that is supported?

      Thanks in advance.

      JKSHJ Offline
      JKSHJ Offline
      JKSH
      Moderators
      wrote on last edited by JKSH
      #2

      @RenanHm said in QT5 on Android 14:

      Could the problem be due to the version of QT I have?

      Possibly. Qt 5 has never been tested on Android 14, and does not support many of the features required by recent versions of Android (like Scoped Storage, for example)

      Will it be necessary to update QT to version 6?
      Is there a list of each version of QT and the version of Android that is supported?

      See https://www.qt.io/blog/qt-for-android-supported-versions-guidelines

      Qt 6.8 will be the first version that officially supports Android 14 (it is currently in beta: https://www.qt.io/blog/qt-6.8-beta-1-released ) The latest version, Qt 6.7.2, might work too.

      Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

      J.HilkJ 1 Reply Last reply
      0
      • R RenanHm

        Hello... I have QT 5.14.2 where I generate my APK.
        However, the APP works well only up to Android 13 (API 33).
        When installing the APK on Android 14 (API 34), an error occurs when opening the APP. Does not display any messages. Just open and close the APP.

        Could the problem be due to the version of QT I have?
        Will it be necessary to update QT to version 6?
        Is there a list of each version of QT and the version of Android that is supported?

        Thanks in advance.

        M Offline
        M Offline
        mvuori
        wrote on last edited by
        #3

        @RenanHm If you expect an error message in dialog box or similar, there may not be any, but if you start the app in the debugger, you will likely get info about why it fails.

        1 Reply Last reply
        0
        • JKSHJ JKSH

          @RenanHm said in QT5 on Android 14:

          Could the problem be due to the version of QT I have?

          Possibly. Qt 5 has never been tested on Android 14, and does not support many of the features required by recent versions of Android (like Scoped Storage, for example)

          Will it be necessary to update QT to version 6?
          Is there a list of each version of QT and the version of Android that is supported?

          See https://www.qt.io/blog/qt-for-android-supported-versions-guidelines

          Qt 6.8 will be the first version that officially supports Android 14 (it is currently in beta: https://www.qt.io/blog/qt-6.8-beta-1-released ) The latest version, Qt 6.7.2, might work too.

          J.HilkJ Online
          J.HilkJ Online
          J.Hilk
          Moderators
          wrote on last edited by
          #4

          @JKSH Android 14 is officially released since October 2023 and my current (android)developing platform is a pixel 8 with android 14.

          @RenanHm I'm running 5.15.16 on android 14 without problems. I doubt its Qt's fault but maybe in the older Qt5 Versions there is some incompatibilities


          Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


          Q: What's that?
          A: It's blue light.
          Q: What does it do?
          A: It turns blue.

          1 Reply Last reply
          2
          • R Offline
            R Offline
            RenanHm
            wrote on last edited by
            #5

            Hello.
            I actually don't have a physical device with Android 14 to debug.
            So I tried with the Google emulator (Google Play Games Developer Emulator) where the error occurs when running the APP.
            But I tested it with a friend's cell phone with Android 14 and the APP worked.
            The APP opens, but an error occurs in the APP when trying to connect to the Firebird database.
            I'm using a lib "libfbclient.so" provided by Firebird for connection.
            I don't know if this lib could be the problem.
            Fact that it works on Android 13. But on Android 14, the connection to the database does not work.

            Do you recommend any emulator for Android 14?
            The existing emulators in Android Studio API level 34 do not work on my computer.
            And the Google emulator that I downloaded causes an error in the APP, but not on the physical device. So I believe that the emulator has a problem.

            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