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

Connections::enabled not available with import Qt Quick 2.0

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 5.12.3
    • Quick: Other
    • None
    • All

    Description

      When using Qt Quick 2.0 import, the Connections::enabled property is not available anymore:

      import QtQuick 2.0
      import QtQuick.Window 2.2
      
      Window {
        visible: true
        width: 640
        height: 480
        title: qsTr("Connections::enabled")
      
        Connections {
          target: someItem
          enabled: false
        }
      
        Item {
          id: someItem
        }
      }
      

      This example worked fine with Qt 5.11. Theres no issue when using e.g. import QtQuick 2.12.

      Attachments

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

        Activity

          People

            w00t Robin Burchell
            GTDev Günther Teufl
            Votes:
            3 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes