Commit b93ba85c authored by Leena Miettinen's avatar Leena Miettinen
Browse files

Doc: new QML code syntax check messages



Edit the new messages and add them to the Qt Creator Manual.

Change-Id: Ib494fd20861473ea824dd0d4260cad621c4081a4
Reviewed-by: default avatarTim Jenssen <tim.jenssen@theqtcompany.com>
Reviewed-by: default avatarThomas Hartmann <Thomas.Hartmann@digia.com>
parent c456968b
......@@ -528,6 +528,56 @@
\li Qt Quick Designer only supports states in the root QML type
\li
\row
\li M208
\li Error
\li This type (%1) is not supported as a root element by \QMLD.
\li
\row
\li M220
\li Error
\li This type (%1) is not supported as a root element of a Qt Quick UI
form.
\li
\row
\li M221
\li Error
\li This type (%1) is not supported in a Qt Quick UI form.
\li
\row
\li M222
\li Error
\li Functions are not supported in a Qt Quick UI form.
\li
\row
\li M223
\li Error
\li Java Script blocks are not supported in a Qt Quick UI form.
\li
\row
\li M224
\li Error
\li Behavior type is not supported in a Qt Quick UI form.
\li
\row
\li M225
\li Error
\li States are only supported in the root item in a Qt Quick UI form.
\li
\row
\li M226
\li Error
\li Referencing the parent of the root item is not supported in a Qt
Quick UI form.
\li
\row
\li M300
\li Error
......@@ -671,6 +721,12 @@
\li 'Number' elements expected in array value
\li
\row
\li M324
\li Warning
\li Using Qt Quick 1 code model instead of Qt Quick 2
\li
\endtable
*/
......
......@@ -225,19 +225,19 @@ StaticAnalysisMessages::StaticAnalysisMessages()
newMsg(ErrUnsupportedRootTypeInVisualDesigner, Error,
tr("This type (%1) is not supported as a root element by Qt Quick Designer."), 1);
newMsg(ErrUnsupportedRootTypeInQmlUi, Error,
tr("This type (%1) is not supported as a root element of a Qt Quick ui file."), 1);
tr("This type (%1) is not supported as a root element of a Qt Quick UI form."), 1);
newMsg(ErrUnsupportedTypeInQmlUi, Error,
tr("This type (%1) is not supported in a Qt Quick ui file."), 1);
tr("This type (%1) is not supported in a Qt Quick UI form."), 1);
newMsg(ErrFunctionsNotSupportedInQmlUi, Error,
tr("Functions are not supported in a Qt Quick ui file."));
tr("Functions are not supported in a Qt Quick UI form."));
newMsg(ErrBlocksNotSupportedInQmlUi, Error,
tr("Java Script blocks are not supported in a Qt Quick ui file."));
tr("Java Script blocks are not supported in a Qt Quick UI form."));
newMsg(ErrBehavioursNotSupportedInQmlUi, Error,
tr("Behaviours are not supported in a Qt Quick ui file."));
tr("Behavior type is not supported in a Qt Quick UI form."));
newMsg(ErrStatesOnlyInRootItemInQmlUi, Error,
tr("States are only supported in the root item in a Qt Quick ui file."));
tr("States are only supported in the root item in a Qt Quick UI form."));
newMsg(ErrReferenceToParentItemNotSupportedInQmlUi, Error,
tr("Referencing the parent of the root item is not supported in a Qt Quick ui file."));
tr("Referencing the parent of the root item is not supported in a Qt Quick UI form."));
}
} // anonymous namespace
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment