Description
Install android_armv7 (or msvc2015) Qt 5.11 Alpha snapshot binary from staging. Build and run 'mapviewer' example.
Running the example works, but warnings below are shown in Application Output:
I/ActivityManager( 569): Start proc org.qtproject.example.qml_location_mapviewer for activity org.qtproject.example.qml_location_mapviewer/org.qtproject.qt5.android.bindings.QtActivity: pid=24305 uid=10311 gids={50311, 9997, 3003, 1028, 1015} abi=armeabi-v7a I/art (24305): Late-enabling -Xcheck:jni I/QtCore (24305): Start I/Qt (24305): qt start I/QtPositioning(24305): Positioning start D/ (24305): (null):0 ((null)): QML debugging is enabled. Only use this in a safe environment. D/OpenGLRenderer(24305): Render dirty regions requested: true D/Atlas (24305): Validating map... I/Adreno-EGL(24305): <qeglDrvAPI_eglInitialize:410>: QUALCOMM Build: 10/28/14, c33033c, Ia6306ec328 I/OpenGLRenderer(24305): Initialized EGL, version 1.4 D/OpenGLRenderer(24305): Enabling debug mode 0 W/ (24305): (null):0 ((null)): WARNING: QApplication was not created in the main() thread. W/libqml_location_mapviewer.so(24305): (null):0 ((null)): QQmlExpression: Expression file:///data/data/org.qtproject.example.qml_location_mapviewer/qt-reserved-files/qml/QtQuick/Controls/Menu.qml:153:39 depends on non-NOTIFYable properties: W/libqml_location_mapviewer.so(24305): (null):0 ((null)): ItemPopupMenu_QMLTYPE_30_QML_79::__parentMenu W/libqml_location_mapviewer.so(24305): (null):0 ((null)): QQmlExpression: Expression file:///data/data/org.qtproject.example.qml_location_mapviewer/qt-reserved-files/qml/QtQuick/Controls/Menu.qml:153:39 depends on non-NOTIFYable properties: W/libqml_location_mapviewer.so(24305): (null):0 ((null)): MarkerPopupMenu_QMLTYPE_43_QML_78::__parentMenu W/libqml_location_mapviewer.so(24305): (null):0 ((null)): QQmlExpression: Expression file:///data/data/org.qtproject.example.qml_location_mapviewer/qt-reserved-files/qml/QtQuick/Controls/Menu.qml:153:39 depends on non-NOTIFYable properties: W/libqml_location_mapviewer.so(24305): (null):0 ((null)): MapPopupMenu_QMLTYPE_51_QML_77::__parentMenu W/libqml_location_mapviewer.so(24305): (null):0 ((null)): QQmlExpression: Expression file:///data/data/org.qtproject.example.qml_location_mapviewer/qt-reserved-files/qml/QtQuick/Controls/Menu.qml:153:39 depends on non-NOTIFYable properties: W/libqml_location_mapviewer.so(24305): (null):0 ((null)): Menu_QMLTYPE_28_QML_74::__parentMenu W/libqml_location_mapviewer.so(24305): (null):0 ((null)): QQmlExpression: Expression file:///data/data/org.qtproject.example.qml_location_mapviewer/qt-reserved-files/qml/QtQuick/Controls/Menu.qml:153:39 depends on non-NOTIFYable properties: W/libqml_location_mapviewer.so(24305): (null):0 ((null)): Menu_QMLTYPE_28_QML_73::__parentMenu W/libqml_location_mapviewer.so(24305): (null):0 ((null)): QQmlExpression: Expression file:///data/data/org.qtproject.example.qml_location_mapviewer/qt-reserved-files/qml/QtQuick/Controls/Menu.qml:153:39 depends on non-NOTIFYable properties: W/libqml_location_mapviewer.so(24305): (null):0 ((null)): Menu_QMLTYPE_28_QML_72::__parentMenu W/libqml_location_mapviewer.so(24305): (null):0 ((null)): QQmlExpression: Expression file:///data/data/org.qtproject.example.qml_location_mapviewer/qt-reserved-files/qml/QtQuick/Controls/Menu.qml:153:39 depends on non-NOTIFYable properties: W/libqml_location_mapviewer.so(24305): (null):0 ((null)): Menu_QMLTYPE_28::__parentMenu W/libqml_location_mapviewer.so(24305): (null):0 ((null)): QQmlExpression: Expression file:///data/data/org.qtproject.example.qml_location_mapviewer/qt-reserved-files/qml/QtQuick/Controls/Styles/Android/AndroidStyle.qml:45:37 depends on non-NOTIFYable properties: W/libqml_location_mapviewer.so(24305): (null):0 ((null)): AndroidStyle_QMLTYPE_90::data W/libqml_location_mapviewer.so(24305): (null):0 ((null)): QGeoTileProviderOsm: Tileserver disabled at QUrl("http://maps-redirect.qt.io/osm/5.8/satellite") W/libqml_location_mapviewer.so(24305): (null):0 ((null)): QGeoTileFetcherOsm: all providers resolved
The output from msvc2015 desktop binary differs a bit (no "WARNING: QApplication was not created in the main() thread." shown).
Starting C:\Users\QT\RTA\qt5\Examples\Qt-5.11.0\location\build-mapviewer-Desktop_Qt_5_11_0_MSVC2015_64bit-Debug\debug\qml_location_mapviewer.exe... QML debugging is enabled. Only use this in a safe environment. QQmlExpression: Expression file:///C:/Users/QT/RTA/qt5/5.11.0/msvc2015_64/qml/QtQuick/Controls/Menu.qml:153:39 depends on non-NOTIFYable properties: ItemPopupMenu_QMLTYPE_43_QML_79::__parentMenu QQmlExpression: Expression file:///C:/Users/QT/RTA/qt5/5.11.0/msvc2015_64/qml/QtQuick/Controls/Menu.qml:153:39 depends on non-NOTIFYable properties: MarkerPopupMenu_QMLTYPE_44_QML_78::__parentMenu QQmlExpression: Expression file:///C:/Users/QT/RTA/qt5/5.11.0/msvc2015_64/qml/QtQuick/Controls/Menu.qml:153:39 depends on non-NOTIFYable properties: MapPopupMenu_QMLTYPE_30_QML_77::__parentMenu QQmlExpression: Expression file:///C:/Users/QT/RTA/qt5/5.11.0/msvc2015_64/qml/QtQuick/Controls/Menu.qml:153:39 depends on non-NOTIFYable properties: Menu_QMLTYPE_28_QML_42::__parentMenu QQmlExpression: Expression file:///C:/Users/QT/RTA/qt5/5.11.0/msvc2015_64/qml/QtQuick/Controls/Menu.qml:153:39 depends on non-NOTIFYable properties: Menu_QMLTYPE_28_QML_41::__parentMenu QQmlExpression: Expression file:///C:/Users/QT/RTA/qt5/5.11.0/msvc2015_64/qml/QtQuick/Controls/Menu.qml:153:39 depends on non-NOTIFYable properties: Menu_QMLTYPE_28_QML_40::__parentMenu serialnmea: No known GPS device found. Specify the COM port via QT_NMEA_SERIAL_PORT. QGeoTileProviderOsm: Tileserver disabled at QUrl("http://maps-redirect.qt.io/osm/5.8/satellite") QGeoTileFetcherOsm: all providers resolved C:/Users/QT/RTA/qt5/Examples/Qt-5.11.0/location/build-mapviewer-Desktop_Qt_5_11_0_MSVC2015_64bit-Debug/debug/qml_location_mapviewer.exe exited with code 0
Attachments
Issue Links
- duplicates
-
QTBUG-65863 "QApplication is not created on main thread" in same game example
- Closed