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

Does qwt 6.2.0 support for Android Qt5.12.12 Clang armeabi-v7a?

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Done
    • Affects Version/s: 5.12.12
    • Fix Version/s: None
    • Component/s: Widgets: Main Window
    • Labels:
      None
    • Platform/s:
      Android, Windows

      Description

      I've compiled libqwt.so by Android Qt5.12.12 Clang armeabi-v7a successful.  [checkout qwt R3381 from https://svn.code.sf.net/p/qwt/code/trunk]
      And I build plotmatrix example OK. But run debug apk failed as below message.
      Needs your help. Thanks a lot.

      I art     : Late-enabling -Xcheck:jni
      D houdini : [2671] Initialize library(version: 7.0.0_y.48671 RELEASE)... successfully.
      W art     : Unexpected CPU variant for X86 using defaults: x86
      W System  : ClassLoader referenced unknown path:
      D houdini : [2686] Expected CPU feature >> AES << is not supported.
      D houdini : [2686] Expected CPU feature >> SSE4_2 << is not supported.
      D houdini : [2686] Expected CPU feature >> CMPXCHG16B << is not supported.
      D houdini : [2686] Expected CPU feature >> SSE2 << is not supported.
      D houdini : [2686] Expected CPU feature >> SSE << is not supported.
      D houdini : [2686] Expected CPU feature >> MMX << is not supported.
      D houdini : [2686] Expected CPU feature >> CMOV << is not supported.
      D houdini : [2686] Added shared library /data/app/org.qtproject.example.plotmatrix-1/lib/arm/libc++_shared.so for ClassLoader by Native Bridge.
      D houdini : [2686] Added shared library /data/app/org.qtproject.example.plotmatrix-1/lib/arm/libQt5Core.so for ClassLoader by Native Bridge.
      I QtCore  : Start
      D houdini : [2686] Added shared library /data/app/org.qtproject.example.plotmatrix-1/lib/arm/libQt5Concurrent.so for ClassLoader by Native Bridge.
      D houdini : [2686] Added shared library /data/app/org.qtproject.example.plotmatrix-1/lib/arm/libQt5Gui.so for ClassLoader by Native Bridge.
      D houdini : [2686] Added shared library /data/app/org.qtproject.example.plotmatrix-1/lib/arm/libQt5Widgets.so for ClassLoader by Native Bridge.
      D houdini : [2686] Added shared library /data/app/org.qtproject.example.plotmatrix-1/lib/arm/libQt5OpenGL.so for ClassLoader by Native Bridge.
      D houdini : [2686] Added shared library /data/app/org.qtproject.example.plotmatrix-1/lib/arm/libQt5PrintSupport.so for ClassLoader by Native Bridge.
      D houdini : [2686] Added shared library /data/app/org.qtproject.example.plotmatrix-1/lib/arm/libQt5Svg.so for ClassLoader by Native Bridge.
      D houdini : [2686] Added shared library /data/data/org.qtproject.example.plotmatrix/qt-reserved-files/plugins/platforms/android/libqtforandroid.so for ClassLoader by Native Bridge.
      I Qt      : qt started
      I art     : Do partial code cache collection, code=12KB, data=25KB
      I art     : After code cache collection, code=12KB, data=25KB
      I art     : Increasing code cache capacity to 128KB
      I art     : Background sticky concurrent mark sweep GC freed 15104(1074KB) AllocSpace objects, 7(132KB) LOS objects, 18% free, 5MB/6MB, paused 401us total 271.235ms
      I art     : Background partial concurrent mark sweep GC freed 7753(734KB) AllocSpace objects, 20(396KB) LOS objects, 39% free, 5MB/8MB, paused 3.625ms total 337.640ms
      I art     : Background sticky concurrent mark sweep GC freed 14402(1363KB) AllocSpace objects, 28(828KB) LOS objects, 18% free, 6MB/8MB, paused 161us total 185.616ms
      D houdini : [2686] Load library /data/app/org.qtproject.example.plotmatrix-1/lib/arm/libplotmatrix.so failed.
      E AndroidRuntime: FATAL EXCEPTION: qtMainLoopThread
      E AndroidRuntime: Process: org.qtproject.example.plotmatrix, PID: 2671
      E AndroidRuntime: java.lang.UnsatisfiedLinkError: dlopen failed: "/data/app/org.qtproject.example.plotmatrix-1/lib/arm/libplotmatrix.so" has unexpected e_machine: 40
      E AndroidRuntime:     at java.lang.Runtime.load0(Runtime.java:897)
      E AndroidRuntime:     at java.lang.System.load(System.java:1505)
      E AndroidRuntime:     at org.qtproject.qt5.android.QtNative$4.run(QtNative.java:260)
      E AndroidRuntime:     at org.qtproject.qt5.android.QtThread$2.run(QtThread.java:88)
      E AndroidRuntime:     at org.qtproject.qt5.android.QtThread$1.run(QtThread.java:61)
      E AndroidRuntime:     at java.lang.Thread.run(Thread.java:761)
      W System.err: java.lang.Exception:
      W System.err:     at org.qtproject.qt5.android.bindings.QtLoader.loadApplication(QtLoader.java:243)
      W System.err:     at org.qtproject.qt5.android.bindings.QtLoader.startApp(QtLoader.java:697)
      W System.err:     at org.qtproject.qt5.android.bindings.QtActivityLoader.onCreate(QtActivityLoader.java:166)
      W System.err:     at org.qtproject.qt5.android.bindings.QtActivity.onCreateHook(QtActivity.java:266)
      W System.err:     at org.qtproject.qt5.android.bindings.QtActivity.onCreate(QtActivity.java:273)
      W System.err:     at android.app.Activity.performCreate(Activity.java:6664)
      W System.err:     at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1118)
      W System.err:     at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2599)
      W System.err:     at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2707)
      W System.err:     at android.app.ActivityThread.-wrap12(ActivityThread.java)
      W System.err:     at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1460)
      W System.err:     at android.os.Handler.dispatchMessage(Handler.java:102)
      W System.err:     at android.os.Looper.loop(Looper.java:154)
      W System.err:     at android.app.ActivityThread.main(ActivityThread.java:6077)
      W System.err:     at java.lang.reflect.Method.invoke(Native Method)
      W System.err:     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:865)
      W System.err:     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:755)
      W art     : Suspending all threads took: 5.823ms
      I art     : Background sticky concurrent mark sweep GC freed 7047(695KB) AllocSpace objects, 10(192KB) LOS objects, 10% free, 7MB/8MB, paused 6.079ms total 19.939ms
      D         : static HostConnection *HostConnection::createUnique(): call
      D         : HostConnection::get() New Host Connection established 0xdefa0c30, tid 2671
      I mple.plotmatrix: type=1400 audit(0.0:1492): avc: denied { write } for name="local_opengl" dev="tmpfs" ino=9737 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:socket_device:s0 tclass=sock_file permissive=1
      D         : HostComposition ext GL_OES_EGL_image_external_essl3 GL_OES_vertex_array_object GL_KHR_texture_compression_astc_ldr ANDROID_EMU_gles_max_version_3_1
      W         : Process pipe failed
      D libEGL  : Emulator has host GPU support, qemu.gles is set to 1.
      E libEGL  : load_driver(/system/lib/egl/libGLES_emulation.so): dlopen failed: library "/system/lib/egl/libGLES_emulation.so" not found
      I RenderThread: type=1400 audit(0.0:1512): avc: denied { write } for name="property_service" dev="tmpfs" ino=1086 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:property_socket:s0 tclass=sock_file permissive=1
      D libEGL  : loaded /system/lib/egl/libEGL_emulation.so
      D libEGL  : loaded /system/lib/egl/libGLESv1_CM_emulation.so
      D libEGL  : loaded /system/lib/egl/libGLESv2_emulation.so
      D         : HostConnection::get() New Host Connection established 0xdefa0d70, tid 2696
      D         : HostComposition ext GL_OES_EGL_image_external_essl3 GL_OES_vertex_array_object GL_KHR_texture_compression_astc_ldr ANDROID_EMU_gles_max_version_3_1
      I OpenGLRenderer: Initialized EGL, version 1.4
      D OpenGLRenderer: Swap behavior 1
      W OpenGLRenderer: Failed to choose config with EGL_SWAP_BEHAVIOR_PRESERVED, retrying without...
      D OpenGLRenderer: Swap behavior 0
      D EGL_emulation: eglCreateContext: 0xdefa7d60: maj 3 min 1 rcv 4
      I Choreographer: Skipped 37 frames!  The application may be doing too much work on its main thread.
      01-24 09:32:37.914  2671  2671 E WindowManager:
      E WindowManager: android.view.WindowLeaked: Activity org.qtproject.qt5.android.bindings.QtActivity has leaked window DecorView@ba6ea13[] that was originally added here
      E WindowManager:     at android.view.ViewRootImpl.<init>(ViewRootImpl.java:417)
      E WindowManager:     at android.view.WindowManagerGlobal.addView(WindowManagerGlobal.java:331)
      E WindowManager:     at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:93)
      E WindowManager:     at android.app.Dialog.show(Dialog.java:316)
      E WindowManager:     at org.qtproject.qt5.android.bindings.QtLoader.loadApplication(QtLoader.java:265)
      E WindowManager:     at org.qtproject.qt5.android.bindings.QtLoader.startApp(QtLoader.java:697)
      E WindowManager:     at org.qtproject.qt5.android.bindings.QtActivityLoader.onCreate(QtActivityLoader.java:166)
      E WindowManager:     at org.qtproject.qt5.android.bindings.QtActivity.onCreateHook(QtActivity.java:266)
      E WindowManager:     at org.qtproject.qt5.android.bindings.QtActivity.onCreate(QtActivity.java:273)
      E WindowManager:     at android.app.Activity.performCreate(Activity.java:6664)
      E WindowManager:     at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1118)
      E WindowManager:     at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2599)
      E WindowManager:     at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2707)
      E WindowManager:     at android.app.ActivityThread.-wrap12(ActivityThread.java)
      E WindowManager:     at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1460)
      E WindowManager:     at android.os.Handler.dispatchMessage(Handler.java:102)
      E WindowManager:     at android.os.Looper.loop(Looper.java:154)
      E WindowManager:     at android.app.ActivityThread.main(ActivityThread.java:6077)
      E WindowManager:     at java.lang.reflect.Method.invoke(Native Method)
      E WindowManager:     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:865)
      E WindowManager:     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:755)
      22:32:39:

      "org.qtproject.example.plotmatrix" died.

      I don't know if I have a problem with Qt5.12.12 Android settings.
      Dose qwt support for Qt Android or not?

      BR,
      Daniel

        Attachments

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

          Activity

            People

            Assignee:
            qt.team.quick.subscriptions Qt Quick and Widgets Team
            Reporter:
            danielxu22 Daniel Xu
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes