Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-11971

False positives im qmljscheck for textalignment.qml in examples

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • Qt Creator 3.1.0-rc1
    • Quick Designer
    • None

    Description

      False positives im qmljscheck for textalignment.qml in examples

      (1) Open textalignment.qml (examples/quick/righttoleft/textalignment)
      (2) Try to open file in Qt Quick Designer
      This is not possible, because of false positives of qmljscheck.

      textalignment.qml:234: error: Enum value must be a string or a number. (M2)
      

      In this case it is a variant and this works, too.

      textalignment\textalignment.qml:407: error: Duplicate id. (M15)
      

      Every Component scope allows overriding ids.

      Attachments

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

        Activity

          People

            thohartm Thomas Hartmann
            thohartm Thomas Hartmann
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes