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

QtQuick Controls examples broken on Android

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Done
    • Affects Version/s: 5.8.0
    • Fix Version/s: 5.8.0 Alpha
    • Component/s: Quick: Controls 1
    • Labels:
      None
    • Environment:
      Ubuntu 15.10 64bit host, Nexus 9 w. Android N device, r10e ndk
    • Platform/s:
      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

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

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              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