Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-90633

Example crashes on Pixel4 with android armeabi-v7a

    XMLWordPrintable

Details

    • Android
    • 2021wk40POAndroid&Mobile, 2021wk42POAndroid&Mobile

    Description

      Install Android Qt6.0.1 binaries, example Examples\Qt-6.0.1\demos\coffee\

      Build and install to device:

      cmake -S C:\Users\joaijala\RTA\qt5\Examples\Qt-6.0.1\demos\coffee -B C:\Users\joaijala\RTA\qt5\Examples\Qt-6.0.1\demos\coffee\bld_armeabi-v7a -GNinja -DQT_HOST_PATH:PATH=C:\Users\joaijala\RTA\qt5\6.0.1\mingw81_64 -DANDROID_SDK_ROOT=C:\Utils\Android\sdk -DCMAKE_TOOLCHAIN_FILE:PATH=C:\Utils\Android\sdk\ndk\21.3.6528147\build\cmake\android.toolchain.cmake -DCMAKE_FIND_ROOT_PATH:PATH=C:\Users\joaijala\RTA\qt5\6.0.1\android_armv7 -DANDROID_ABI:STRING=armeabi-v7a
      
      cmake --build . --target apk
      
      adb -s [pixel4_id] install C:\Users\joaijala\RTA\qt5\Examples\Qt-6.0.1\demos\coffee\bld_armeabi-v7a\android-build\build\outputs\apk\debug\android-build-debug.apk
      

      When launching app, it will crash on device (logcat log attached).

      If Android arm64-v8a binaries used, application won't crash on same device.
      Also, on Samsung Galaxy s10 tablet example runs normally when built with both armv7 and arm64 . So problem only on Pixel4 and armv7.

      Reproduces also with released Qt6.0.0 Android armv7 binaries.

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              jani-korteniemi Jani Korteniemi
              joaijala Johanna Äijälä
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes