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. A bit of a dishabused reaction concerning Qt Android and iOS platforms

A bit of a dishabused reaction concerning Qt Android and iOS platforms

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
6 Posts 3 Posters 589 Views 3 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.
  • F Offline
    F Offline
    Francky033
    wrote on last edited by Francky033
    #1

    I have been proposing for a few years an Android application based on Qt 5.15x.
    I am, however, more and more disappointed by the difficulties I encounter.
    I update my application after having properly tested it on physical devices and on the simulator. However, I often find myself faced with behaviors on the users' machines that I can't reproduce. Crashes or freezes, the indications given by google console are often themselves enigmatic, indicating backtrace with only one or two lines and not referring to the program code itself.
    I try to update the Qt library by compiling it myself but I only see a multiplication of issues since I went from 5.15.2 to 5.15.5
    The current issues seem to concern QAccessibility and the A11y support.

    Also, I'm not sure what to do anymore. I'm certainly going to remove my app from the Play as I find myself unable to offer an app that works on all machines.

    Is there a way to improve things? How to explain these different behaviors on each device (is it due to the Android overlay?)
    How can I improve my debugging practices?

    I must add that the linux, windows and macos versions work perfectly. The real problem concerns the ios and Android versions (especially Android).

    Thanks !

    Francky

    JKSHJ ekkescornerE 2 Replies Last reply
    0
    • F Francky033

      I have been proposing for a few years an Android application based on Qt 5.15x.
      I am, however, more and more disappointed by the difficulties I encounter.
      I update my application after having properly tested it on physical devices and on the simulator. However, I often find myself faced with behaviors on the users' machines that I can't reproduce. Crashes or freezes, the indications given by google console are often themselves enigmatic, indicating backtrace with only one or two lines and not referring to the program code itself.
      I try to update the Qt library by compiling it myself but I only see a multiplication of issues since I went from 5.15.2 to 5.15.5
      The current issues seem to concern QAccessibility and the A11y support.

      Also, I'm not sure what to do anymore. I'm certainly going to remove my app from the Play as I find myself unable to offer an app that works on all machines.

      Is there a way to improve things? How to explain these different behaviors on each device (is it due to the Android overlay?)
      How can I improve my debugging practices?

      I must add that the linux, windows and macos versions work perfectly. The real problem concerns the ios and Android versions (especially Android).

      Thanks !

      Francky

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

      @Francky033 said in A bit of a dishabused reaction concerning Qt Android and iOS platforms:

      I often find myself faced with behaviors on the users' machines that I can't reproduce.

      Do you know which Android version those machines are running?

      Android features are an ever-moving target; newer Android versions often break functionality in apps that ran perfectly in older Android versions.

      I only see a multiplication of issues since I went from 5.15.2 to 5.15.5

      If you are using Qt 5.15.5, that means you have a commercial Qt license. Contact Qt Support (https://account.qt.io/s/support ) and ask them to help you investigate.

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

      1 Reply Last reply
      0
      • F Offline
        F Offline
        Francky033
        wrote on last edited by
        #3

        Android 12 seems overrepresented yes.

        No, in fact, I currently use the open source version of Qt 5.15.5 that I compile myself...

        JKSHJ 1 Reply Last reply
        0
        • F Francky033

          Android 12 seems overrepresented yes.

          No, in fact, I currently use the open source version of Qt 5.15.5 that I compile myself...

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

          @Francky033 said in A bit of a dishabused reaction concerning Qt Android and iOS platforms:

          No, in fact, I currently use the open source version of Qt 5.15.5 that I compile myself...

          Ah that's right... that was open-sourced 2 weeks ago.

          Android 12 seems overrepresented yes.

          Android 12 was released 4 months after Qt 5.15.5, so that probably explains a lot.

          Furthermore, Android 12 has changed a lot compared to Android 11: https://bugreports.qt.io/browse/QTBUG-99542

          I must add that the linux, windows and macos versions work perfectly. The real problem concerns the ios and Android versions (especially Android).

          The desktop platforms don't break backward compatibility as frequently as the mobile platforms.

          iOS causes fewer headaches than Android because Apple maintains strict control over the hardware and OS. Android runs on a huge variety of hardware and is very customizable so there are a lot more pathways for things to break.

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

          1 Reply Last reply
          0
          • JKSHJ Offline
            JKSHJ Offline
            JKSH
            Moderators
            wrote on last edited by
            #5

            One thing that can help in a range of cases: Request your permissions (by string) at runtime, rather than relying on the Manifest. This way, you don't need to wait for Qt to implement support for a new permission.

            See here for example code: https://code.qt.io/cgit/qt/qtandroidextras.git/tree/examples/androidextras/musiclist/main.cpp?h=5.15

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

            1 Reply Last reply
            2
            • F Francky033

              I have been proposing for a few years an Android application based on Qt 5.15x.
              I am, however, more and more disappointed by the difficulties I encounter.
              I update my application after having properly tested it on physical devices and on the simulator. However, I often find myself faced with behaviors on the users' machines that I can't reproduce. Crashes or freezes, the indications given by google console are often themselves enigmatic, indicating backtrace with only one or two lines and not referring to the program code itself.
              I try to update the Qt library by compiling it myself but I only see a multiplication of issues since I went from 5.15.2 to 5.15.5
              The current issues seem to concern QAccessibility and the A11y support.

              Also, I'm not sure what to do anymore. I'm certainly going to remove my app from the Play as I find myself unable to offer an app that works on all machines.

              Is there a way to improve things? How to explain these different behaviors on each device (is it due to the Android overlay?)
              How can I improve my debugging practices?

              I must add that the linux, windows and macos versions work perfectly. The real problem concerns the ios and Android versions (especially Android).

              Thanks !

              Francky

              ekkescornerE Offline
              ekkescornerE Offline
              ekkescorner
              Qt Champions 2016
              wrote on last edited by
              #6

              @Francky033 said in A bit of a dishabused reaction concerning Qt Android and iOS platforms:

              The current issues seem to concern QAccessibility

              take a look here: https://bugreports.qt.io/browse/QTBUG-95764

              ekke ... Qt Champion 2016 | 2024 ... mobile business apps
              5.15 --> 6.9 https://t1p.de/ekkeChecklist
              QMake --> CMake https://t1p.de/ekkeCMakeMobileApps

              1 Reply Last reply
              2

              • Login

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