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

qmllint: implement .ui.qml warnings from qmljsstaticanalysismessage.cpp

    XMLWordPrintable

Details

    • Task
    • Resolution: Unresolved
    • P2: Important
    • 6.9
    • 6.8
    • QML: Tooling
    • None
    • 5fc2bfd36 (dev)

    Description

      Implement warnings in qmlls from QtC's codemodel for .ui.qml files

      done to be done in progress won't do
       

      • WarnImperativeCodeNotEditableInVisualDesigner
      • WarnUnsupportedTypeInVisualDesigner
      • WarnReferenceToParentItemNotSupportedByVisualDesigner
      • WarnUndefinedValueForVisualDesigner
      • WarnStatesOnlyInRootItemForVisualDesigner
      • ErrUnsupportedRootTypeInVisualDesigner
      • ErrInvalidIdeInVisualDesigner
      • ErrUnsupportedRootTypeInQmlUi
      • ErrUnsupportedTypeInQmlUi
      • ErrFunctionsNotSupportedInQmlUi
      • ErrBlocksNotSupportedInQmlUi
      • ErrBehavioursNotSupportedInQmlUi
      • ErrStatesOnlyInRootItemInQmlUi
      • ErrReferenceToParentItemNotSupportedInQmlUi
      • WarnDoNotMixTranslationFunctionsInQmlUi

      Also, you can find all qtc codemodel warnings in qmljsstaticanalysismessage.cpp's StaticAnalysisMessages::StaticAnalysisMessages() and qmljsstaticanalysismessage.h definition of Type enum (each enum value corresponds to a warning, see also their description in the StaticAnalysisMessages::StaticAnalysisMessages() constructor!)

      Attachments

        Issue Links

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

          Activity

            People

              sami.shalayel Sami Shalayel
              sami.shalayel Sami Shalayel
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes