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

Material SpinBox QML TypeErrors

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 6.2.3, 6.3.0 Alpha
    • 6.2.0
    • Quick: Controls 2
    • None
    • Windows
    • 3bb8ef28a73a1469c1bbc4384d134deb466a4030 (qt/qtdeclarative/dev) d0161d9d3c8dd0ea55ae927661a3e0c3dcb28227 (qt/qtdeclarative/6.2)

    Description

      When using Spin Boxes together with Material style (qtquickcontrols2.conf [Controls]Style=Material ), my application outputs the following TypeErrors upon launching:

      qrc:/qt-project.org/imports/QtQuick/Controls/Material/SpinBox.qml:87:9: TypeError: Cannot read property 'height' of null
      qrc:/qt-project.org/imports/QtQuick/Controls/Material/SpinBox.qml:84:9: TypeError: Cannot read property 'width' of null
      qrc:/qt-project.org/imports/QtQuick/Controls/Material/SpinBox.qml:121:9: TypeError: Cannot read property 'height' of null

       

      I´ve had them ever since using Material style back in Qt 5.12, so I guess this issue has been existing for a long time. I don´t even access the properties mentioned in the Type Errors, the application still works fine, but it´s annoying to see them each time in Qt Creator. 

      Attachments

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

        Activity

          People

            mitch_curtis Mitch Curtis
            gamerx gamerx
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes