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

QtQuick Controls examples broken on Android

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 5.8.0 Alpha
    • 5.8.0
    • Quick: Controls 1
    • None
    • Ubuntu 15.10 64bit host, Nexus 9 w. Android N device, r10e ndk
    • Android

    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

          For Gerrit Dashboard: QTBUG-55337
          # Subject Branch Project Status CR V

          Activity

            People

              Unassigned Unassigned
              paangele Paolo Angelelli
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes