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

qmllint does not report group property type mismatch

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • 6.3
    • 6.2
    • QML: Tooling
    • 150846b5c66fb0474ffa272303e68622c9d8f784

    Description

      Running qmllint for:

      import QtQuick
      Text {
        font.pixelSize: "foobar"
      }
      

      seems to work fine despite a type mismatch: a string couldn't be assigned to an integer (this is at least true for attached properties).

      Given that attached property case of the same nature is handled correctly, I'm surprised how come group properties are not processed in the same way. Something is fishy there.

      Attachments

        Issue Links

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

          Activity

            People

              max.goldstein Maximilian Goldstein
              agolubev Andrei Golubev
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes