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

Application crash when using Loader under Android

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P1: Critical
    • 5.2.0
    • 5.2.0
    • Quick: Controls 1
    • None
    • Android 4.2.2 (Sony Xperia)
    • Android

    Description

      Application crash related to Loader on Android.
      This was reported as a crash with Qt Quick Controls but we have narrowed it down to this use case:

      import QtQuick 2.2
      Loader {
          id: loader
          sourceComponent: QtObject {
              property Item control: loader
              property QtObject floatingObject: QtObject {
                  property bool someBinding: control.enabled
              }
          }
      }
      

      The above pattern is heavily used for styling in Qt Quick Controls. This is also a regression against 5.1.1.

      Attachments

        1. appwin_test.zip
          17 kB
          Vlad Stelmahovsky

        Issue Links

          Activity

            People

              shausman Simon Hausmann
              vladest Vlad Stelmahovsky
              Votes:
              1 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: