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

Layout attached property not available to SplitView children

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 5.1.1
    • 5.1.0 RC1
    • Quick: Controls 1
    • None
    • 7641916c69a9a46218befa353d97b23099066add

    Description

      The Layout.* attached properties are not available to the SplitView children: running the attached test case leads to an error:

      file:///tmp/main.qml:56 Non-existent attached object

      The problem goes away if I uncomment the line importing QtQuick.Layouts.

      Either the documentation for SplitView should be fixed to include the information about the need of importing QtQuick.Layouts, or the importing should not be required.

      Attachments

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

        Activity

          People

            carochao Caroline Chao (Inactive)
            mardy Alberto Mardegan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes