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

SpinBox component versioning

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P2: Important P2: Important
    • None
    • 5.14.0, 5.14.1
    • Quick: Controls 2
    • None
    • Windows

      I have this code:

      import QtQuick 2.0
      import QtQuick.Window 2.12
      import QtQuick.Controls 2.14
      
      Window {
          id: window
          visible: true
          width: 640
          height: 480
          title: qsTr("Window")
      
          SpinBox{
              up.hovered :true
          }
      }

      But when I run it, I get this error:

      ".hovered" is not available due to component versioning.

      The error is the same this properties for up and down group:

      • implicitIndicatorHeight
      • implicitIndicatorWidth
      • hovered

      In  the documentation SpinBox , they say "The up.hovered property was introduced in QtQuick.Controls 2.1, and the up.implicitIndicatorWidth and up.implicitIndicatorHeight properties were introduced in QtQuick.Controls 2.5" 

        1. Capture.PNG
          57 kB
          Yacine BENAFFANE
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            styleoshin Yacine BENAFFANE
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes