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

qmllint does not report group property type mismatch

XMLWordPrintable

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

      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.

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes