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

Cannot build any Qt application on Android with latest 6.7.0 snapshot

    XMLWordPrintable

Details

    • Android
    • 2023wk46FOQtforAndroid, 2024wk04FOQtforAndroid, 2024wk06FOQtforAndroid

    Description

      MacOS 14.1

      Qt Creator 11.0.3

      Device: Samsung Galaxy S22 13.0

      Steps to reproduce:

      1. Create sample app or use any existing example
      2. Build and run the app on Android device using 6.7.0 snapshot.

       

      Expected: The app can be used.

      Actual: App crashes immediately after launch.

      Reproducibility:  100% 

      Version:

      Qt 6.7.0 
      2023-11-09
      sha1: 72861b5f5740cb2bd650e30f3d23c8fc55ba51da 
      D OpenGLRenderer: RenderThread::setGrContext()
      I QtCore  : Start
      E AndroidRuntime: FATAL EXCEPTION: qtMainLoopThread
      E AndroidRuntime: Process: org.qtproject.example.appuntitled2, PID: 1746
      E AndroidRuntime: java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "_ZNK11QMetaObject17indexOfEnumeratorE14QByteArrayView" referenced by "/data/app/~~cNdnnlHgOdgKrceB5NCTOQ==/org.qtproject.example.appuntitled2-62lWyPUX-PbCnLftgfLyQw==/lib/arm/libQt6InsightTracker_armeabi-v7a.so"...
      E AndroidRuntime:     at java.lang.Runtime.load0(Runtime.java:933)
      E AndroidRuntime:     at java.lang.System.load(System.java:1625)
      E AndroidRuntime:     at org.qtproject.qt.android.QtNative$2.run(QtNative.java:235)
      E AndroidRuntime:     at org.qtproject.qt.android.QtThread$2.run(QtThread.java:51)
      E AndroidRuntime:     at org.qtproject.qt.android.QtThread$1.run(QtThread.java:25)
      E AndroidRuntime:     at java.lang.Thread.run(Thread.java:1012)
      I Process : Sending signal. PID: 1746 SIG: 9
      17:30:26:  

       

      Attachments

        Issue Links

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

          Activity

            People

              rampe Rami Potinkara
              lkos Łukasz Kosiorowski
              Votes:
              1 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes