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

Cannot deploy 'wiggly' example with Android armv7 binary on macOS 10.14

    XMLWordPrintable

Details

    • Android, macOS

    Description

      Requirement: macOS 10.14, 5.12.2 android armv7 binary from staging, ndk r19b or ndk r18b

      Steps to reproduce:

      1. Install 5.12.2 armv7 binary from staging on macOS 10.14
      2. Open QtCreator and
      3. Build 'wiggly' example
      4. Run 'wiggly' example

      Expected result:

      'wiggly' is deployed to the device (tested with Pixel C)

      Actual result:

       I zygote  : Late-enabling -Xcheck:jni
      W System  : ClassLoader referenced unknown path:
      I QtCore  : Start
      W linker  : "/data/app/org.qtproject.example.wiggly-Fql6f2w_l-PADRB2MfEoJw==/lib/arm/libQt5Gui.so" has unsupported flags DT_FLAGS_1=0x80
      W linker  : "/data/app/org.qtproject.example.wiggly-Fql6f2w_l-PADRB2MfEoJw==/lib/arm/libQt5Network.so" has unsupported flags DT_FLAGS_1=0x80
      W linker  : "/data/app/org.qtproject.example.wiggly-Fql6f2w_l-PADRB2MfEoJw==/lib/arm/libQt5Widgets.so" has unsupported flags DT_FLAGS_1=0x80
      W linker  : "/data/data/org.qtproject.example.wiggly/qt-reserved-files/plugins/platforms/android/libqtforandroid.so" has unsupported flags DT_FLAGS_1=0x80
      I Qt      : qt started
      W linker  : "/data/data/org.qtproject.example.wiggly/qt-reserved-files/plugins/bearer/libqandroidbearer.so" has unsupported flags DT_FLAGS_1=0x80
      E AndroidRuntime: FATAL EXCEPTION: qtMainLoopThread
      E AndroidRuntime: Process: org.qtproject.example.wiggly, PID: 7543
      E AndroidRuntime: java.lang.UnsatisfiedLinkError: dlopen failed: library "libgnustl_shared.so" not found
      E AndroidRuntime:   at java.lang.Runtime.load0(Runtime.java:928)
      E AndroidRuntime:   at java.lang.System.load(System.java:1621)
      E AndroidRuntime:   at org.qtproject.qt5.android.QtNative$3.run(QtNative.java:223)
      E AndroidRuntime:   at org.qtproject.qt5.android.QtThread$2.run(QtThread.java:87)
      E AndroidRuntime:   at org.qtproject.qt5.android.QtThread$1.run(QtThread.java:61)
      E AndroidRuntime:   at java.lang.Thread.run(Thread.java:764)

      is shown in QtCreator's Application Output. Other widget examples (and also QML examples) were deploying fine. This was the only example of those I tested that wasn't.

      Find the Build log attached also.

      Attachments

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

        Activity

          People

            esabraha Eskil Abrahamsen Blomfeldt
            mipohjan Milla Pohjanheimo
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes