forked from qt-creator/qt-creator
QmlJS: Distinguish between erros for ui.qml files and designer warnings
We properly distinguish between warnings in the Qt Quick Designer and error in a .ui.qml file. The warnings are a subset of the errors anyway. Change-Id: Ib3b21a845436381df10863b464c975b0b39fc063 Reviewed-by: Fawzi Mohamed <fawzi.mohamed@digia.com>
This commit is contained in:
@@ -234,6 +234,10 @@ StaticAnalysisMessages::StaticAnalysisMessages()
|
||||
tr("Java Script blocks are not supported in a Qt Quick ui file."));
|
||||
newMsg(ErrBehavioursNotSupportedInQmlUi, Error,
|
||||
tr("Behaviours are not supported in a Qt Quick ui file."));
|
||||
newMsg(ErrStatesOnlyInRootItemInQmlUi, Error,
|
||||
tr("States are only supported in the root item in a Qt Quick ui file."));
|
||||
newMsg(ErrReferenceToParentItemNotSupportedInQmlUi, Error,
|
||||
tr("Referencing the parent of the root item is not supported in a Qt Quick ui file."));
|
||||
}
|
||||
|
||||
} // anonymous namespace
|
||||
|
||||
Reference in New Issue
Block a user