Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
5.8.0
-
None
-
Ubuntu 15.10 64bit host, Nexus 9 w. Android N device, r10e ndk
Description
Running qtquick controls examples (e.g., the gallery example) with a dev build on an android device results in the application being shown incorrectly (for example no check boxes or radio buttons at all and similar problems).
The issue seems to be related to errors shown in the log, like:
[...] 08-16 17:37:26.166 26660 26680 W libgallery.so: file:///data/data/org.qtproject.example.gallery/qt-reserved-files/qml/QtQuick/Controls/Styles/Android/TabViewStyle.qml:65 ((null)): file:///data/data/org.qtproject.example.gallery/qt-reserved-files/qml/QtQuick/Controls/Styles/Android/TabViewStyle.qml:65: TypeError: Cannot read property 'View_minHeight' of undefined 08-16 17:37:26.166 26660 26680 W libgallery.so: file:///data/data/org.qtproject.example.gallery/qt-reserved-files/qml/QtQuick/Controls/Styles/Android/TabViewStyle.qml:64 ((null)): file:///data/data/org.qtproject.example.gallery/qt-reserved-files/qml/QtQuick/Controls/Styles/Android/TabViewStyle.qml:64: TypeError: Cannot read property 'View_minWidth' of undefined 08-16 17:37:26.166 26660 26680 W libgallery.so: file:///data/data/org.qtproject.example.gallery/qt-reserved-files/qml/QtQuick/Controls/Styles/Android/TabViewStyle.qml:75 ((null)): file:///data/data/org.qtproject.example.gallery/qt-reserved-files/qml/QtQuick/Controls/Styles/Android/TabViewStyle.qml:75: TypeError: Cannot read property 'ActionBar_backgroundStacked' of undefined 08-16 17:37:26.166 26660 26680 W libgallery.so: file:///data/data/org.qtproject.example.gallery/qt-reserved-files/qml/QtQuick/Controls/Styles/Android/TabViewStyle.qml:62 ((null)): file:///data/data/org.qtproject.example.gallery/qt-reserved-files/qml/QtQuick/Controls/Styles/Android/TabViewStyle.qml:62: TypeError: Cannot read property 'actionBarStyle' of undefined 08-16 17:37:26.166 26660 26680 W libgallery.so: file:///data/data/org.qtproject.example.gallery/qt-reserved-files/qml/QtQuick/Controls/Styles/Android/AndroidStyle.qml:45 ((null)): file:///data/data/org.qtproject.example.gallery/qt-reserved-files/qml/QtQuick/Controls/Styles/Android/AndroidStyle.qml:45: JSON.parse: Parse error
Note: things seem to work in 5.7.1 and 5.6.2, built with the same configure options
Attachments
Issue Links
- resulted in
-
QTBUG-55562 QByteArray can no longer be passed to JSON.parse()
-
- Closed
-
For Gerrit Dashboard: QTBUG-55337 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
169391,1 | Android: fix the style.json parse error | 5.8 | qt/qtquickcontrols | Status: ABANDONED | +1 | 0 |