Hello,
The example giving in qt doc concerning qquickwidget (a bit modified because I insert the qquickwidget in a qdialog layout) works for me on Android, but I need to send the app background and foreground to get it working. If I remove the animation from the qml file it works straight away, no need to send the app back/foreground. Philippe. Le 05-11-2015 19:09, Edward Sutton a écrit : > I am attempting to evaluate usability of QML and Quick Widget on iOS and > Android. > > When deploying the QT QUICK WIDGETS EXAMPLE debug or release build to an > Android Nexus 7 I get the a crash. > >> http://doc.qt.io/qt-5/qtquick-quickwidgets-quickwidget-example.html [1] > > This last few lines report: > > W/libquickwidget.so(29094): (null):0 ((null)): QQmlInspector: No plugin > available for view ' QQuickWidget '. > W/linker (29094): libqtquick2plugin.so: unused DT entry: type 0x1d arg 0x4bd > W/Adreno-EGL(29094): <qeglDrvAPI_eglSwapInterval:3971>: EGL_BAD_SURFACE > > I see a similar bug report. I tried a release build and it crashes as well. > Crash when trying to QML-debug QQuickWidget [2] > >> https://bugreports.qt.io/browse/QTBUG-37382 [2] > > I am using Qt 5.5.1 commercial, OS X 10.10.5, with Xcode 7.1 > Here is the full Application Output: > > "org.qtproject.example.quickwidget" terminated. > Debugging starts > I/ActivityManager( 538): Start proc > 29094:org.qtproject.example.quickwidget/u0a735 for activity > org.qtproject.example.quickwidget/org.qtproject.qt5.android.bindings.QtActivity > > I/art (29094): Late-enabling -Xcheck:jni > W/linker (29094): libQt5Gui.so: unused DT entry: type 0x1d arg 0x4e21a > W/linker (29094): libQt5Network.so: unused DT entry: type 0x1d arg 0x11731 > W/linker (29094): libQt5Qml.so: unused DT entry: type 0x1d arg 0x3417d > W/linker (29094): libQt5Quick.so: unused DT entry: type 0x1d arg 0x35b61 > W/linker (29094): libQt5Widgets.so: unused DT entry: type 0x1d arg 0x6b2bb > W/linker (29094): libQt5QuickParticles.so: unused DT entry: type 0x1d arg > 0x3656 > W/linker (29094): libQt5QuickWidgets.so: unused DT entry: type 0x1d arg > 0x2933 > W/linker (29094): libqtforandroid.so: unused DT entry: type 0x1d arg 0x8f94 > I/Qt (29094): qt start > W/linker (29094): libqandroidbearer.so: unused DT entry: type 0x1d arg 0x1727 > W/linker (29094): libquickwidget.so: unused DT entry: type 0x1d arg 0x23ba > D/ (29094): (null):0 ((null)): QML debugging is enabled. Only use this in a > safe environment. > I/Qt JAVA (29094): DEBUGGER: extra parameters: Bundle[{debug_ping=true, > gdbserver_socket=/data/data/org.qtproject.example.quickwidget/debug-socket, > qml_debug=true, > gdbserver_command=/data/data/org.qtproject.example.quickwidget/lib/libgdbserver.so > --multi +/data/data/org.qtproject.example.quickwidget/debug-socket, > qmljsdebugger=port:52608,block, > ping_socket=org.qtproject.example.quickwidget.ping_pong_socket}] > I/Qt JAVA (29094): DEBUGGER: removing gdb socket > /data/data/org.qtproject.example.quickwidget/debug-socket > I/Qt JAVA (29094): DEBUGGER: starting > /data/data/org.qtproject.example.quickwidget/lib/libgdbserver.so --multi > +/data/data/org.qtproject.example.quickwidget/debug-socket > I/Qt JAVA (29094): DEBUGGER: gdbserver started > I/Qt JAVA (29094): DEBUGGER: waiting for socket at > /data/data/org.qtproject.example.quickwidget/debug-socket, attempt 0 > I/Qt JAVA (29094): DEBUGGER: socket ok > I/Qt JAVA (29094): DEBUGGER: Waiting for debug socket connect > I/Qt JAVA (29094): DEBUGGER: go to sleep > I/Qt JAVA (29094): DEBUGGER: Waiting for debug socket connect > I/Qt JAVA (29094): DEBUGGER: go to sleep > I/Qt JAVA (29094): DEBUGGER: Waiting for debug socket connect > I/Qt JAVA (29094): DEBUGGER: go to sleep > I/Qt JAVA (29094): DEBUGGER: Debug socket accepted > I/Qt JAVA (29094): DEBUGGER: Waiting for debug socket connect > I/Qt JAVA (29094): DEBUGGER: go to sleep > I/Qt JAVA (29094): DEBUGGER: Waiting for debug socket connect > I/Qt JAVA (29094): DEBUGGER: go to sleep > I/Qt JAVA (29094): DEBUGGER: Waiting for debug socket connect > I/Qt JAVA (29094): DEBUGGER: go to sleep > I/Qt JAVA (29094): DEBUGGER: Waiting for debug socket connect > I/Qt JAVA (29094): DEBUGGER: go to sleep > I/Qt JAVA (29094): DEBUGGER: Waiting for debug socket connect > I/Qt JAVA (29094): DEBUGGER: go to sleep > I/Qt JAVA (29094): DEBUGGER: Waiting for debug socket connect > I/Qt JAVA (29094): DEBUGGER: go to sleep > I/Qt JAVA (29094): DEBUGGER: Waiting for debug socket connect > I/Qt JAVA (29094): DEBUGGER: go to sleep > Could not load shared library symbols for 102 libraries, e.g. > /system/bin/linker. > Use the "info sharedlibrary" command to see the complete listing. > Do you need "set solib-search-path" or "set sysroot"?Unable to find dynamic > linker breakpoint function. > GDB will be unable to debug shared library initializers > and track explicitly loaded dynamic code.I/Qt JAVA (29094): DEBUGGER: Waiting > for debug socket connect > I/Qt JAVA (29094): DEBUGGER: go to sleep > I/Qt JAVA (29094): DEBUGGER: Incoming socket OK > I/Qt JAVA (29094): DEBUGGER: Got pid acknowledgment > I/Qt JAVA (29094): DEBUGGER: ping not requested > I/Qt JAVA (29094): DEBUGGER: pong not requested > D/OpenGLRenderer(29094): Use EGL_SWAP_BEHAVIOR_PRESERVED: true > D/Atlas (29094): Validating map... > I/Adreno-EGL(29094): <qeglDrvAPI_eglInitialize:379>: QUALCOMM Build: > 01/15/15, ab0075f, Id3510ff6dc > I/OpenGLRenderer(29094): Initialized EGL, version 1.4 > D/OpenGLRenderer(29094): Enabling debug mode 0 > W/linker (29094): libqmldbg_tcp.so: unused DT entry: type 0x1d arg 0x9c4 > D/libquickwidget.so(29094): (null):0 ((null)): QML Debugger: Waiting for > connection on port 52608... > W/linker (29094): libqmldbg_qtquick2.so: unused DT entry: type 0x1d arg > 0x1fa8 > W/libquickwidget.so(29094): (null):0 ((null)): QQmlInspector: No plugin > available for view ' QQuickWidget '. > W/linker (29094): libqtquick2plugin.so: unused DT entry: type 0x1d arg 0x4bd > W/Adreno-EGL(29094): <qeglDrvAPI_eglSwapInterval:3971>: EGL_BAD_SURFACE > > ---------------------------------- > > I/Qt JAVA (31968): DEBUGGER: Got pid acknowledgment > I/Qt JAVA (31968): DEBUGGER: ping not requested > I/Qt JAVA (31968): DEBUGGER: pong not requested > D/OpenGLRenderer(31968): Use EGL_SWAP_BEHAVIOR_PRESERVED: true > D/Atlas (31968): Validating map... > I/Adreno-EGL(31968): <qeglDrvAPI_eglInitialize:379>: QUALCOMM Build: > 01/15/15, ab0075f, Id3510ff6dc > I/OpenGLRenderer(31968): Initialized EGL, version 1.4 > D/OpenGLRenderer(31968): Enabling debug mode 0 > > W/linker (31968): libqmldbg_tcp.so: unused DT entry: type 0x1d arg 0x9c4 > sQML Debugger: Connecting to debug server at 127.0.0.1:53748 ... > sQML Debugger: Resolving host > sQML Debugger: Establishing network connection ... > D/libquickwidget.so(31968): (null):0 ((null)): QML Debugger: Waiting for > connection on port 53748... > sQML Debugger: Network connection established > sQML Debugger: Status of "QDeclarativeObserverMode" Version: -1 changed to > 'unavailable'. > sQML Debugger: Status of "QmlInspector" Version: -1 changed to 'unavailable'. > sQML Debugger: Status of "QmlDebugger" Version: -1 changed to 'unavailable'. > sQML Debugger: Status of "DeclarativeDebugger" Version: -1 changed to > 'unavailable'. > sQML Debugger: Status of "" Version: 0 changed to 'unavailable'. > sQML Debugger: Status of "QDeclarativeEngine" Version: -1 changed to > 'unavailable'. > sQML Debugger: Status of "DebugMessages" Version: -1 changed to > 'unavailable'. > dATTEMPT BREAKPOINT SYNCHRONIZATION > dBREAKPOINTS ARE SYNCHRONIZED > dNOTE: ENGINE RUN AND INFERIOR RUN OK > sRunning. > dState changed from EngineRunRequested(7) to InferiorRunOk(11) > sQML Debugger: Status of "QmlDebugger" Version: 2 changed to 'enabled'. > dInspector sending LIST_ENGINES > sQML Debugger: Status of "" Version: 0 changed to 'enabled'. > <connect > <v8request {"seq":0,"type":"request","command":"version","arguments":{}} > sQML Debugger: Status of "DebugMessages" Version: 2 changed to 'enabled'. > W/linker (31968): libqmldbg_qtquick2.so: unused DT entry: type 0x1d arg > 0x1fa8 > W/libquickwidget.so(31968): (null):0 ((null)): QQmlInspector: No plugin > available for view ' QQuickWidget '. > W/linker (31968): libqtquick2plugin.so: unused DT entry: type 0x1d arg 0x4bd >> connect > sQML Debugger: Status of "QmlInspector" Version: 1 changed to 'enabled'. >> v8message >> v8message {"body":{"V8Version":"this is not V8, this is V4 in Qt >> 5.5.1"},"command":"version","request_seq":0,"running":true,"seq":0,"success":true,"type":"response"} >> > dInspector receiving OBJECT_CREATED > W/Adreno-EGL(31968): <qeglDrvAPI_eglSwapInterval:3971>: EGL_BAD_SURFACE > > This email and any files transmitted with it from The Charles Machine Works, > Inc. are confidential and intended solely for the use of the individual or > entity to which they are addressed. If you have received this email in error > please notify the sender. Our company accepts no liability for the contents > of this email, or for the consequences of any actions taken on the basis of > the information provided, unless that information is subsequently confirmed > in writing. Please note that any views or opinions presented in this email > are solely those of the author and do not necessarily represent those of the > company. Finally, the recipient should check this email and any attachments > for the presence of viruses. The company accepts no liability for any damage > caused by any virus transmitted by this email. > > _______________________________________________ > Interest mailing list > [email protected] > http://lists.qt-project.org/mailman/listinfo/interest [3] Links: ------ [1] http://doc.qt.io/qt-5/qtquick-quickwidgets-quickwidget-example.html [2] https://bugreports.qt.io/browse/QTBUG-37382 [3] http://lists.qt-project.org/mailman/listinfo/interest
_______________________________________________ Interest mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/interest
