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), 31fbe8a19 (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!)
      There is also some documentation about the restrictions on https://doc.qt.io/qtcreator/creator-quick-ui-forms.html

      Attachments

        Issue Links

          For Gerrit Dashboard: QTBUG-129308
          # Subject Branch Project Status CR V

          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 4 open Gerrit changes