Details
-
Task
-
Resolution: Unresolved
-
P2: Important
-
6.8
-
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
- is duplicated by
-
QTBUG-126607 qmlls does not complain about limitations of .ui.qml files
- Closed
- is required for
-
QTBUG-119890 qmllint: complain more for feature parity with QtCreator warnings
- Reported
- relates to
-
QTBUG-129307 qmllint: implement .qml warnings from qmljsstaticanalysismessage.cpp
- Open