forked from qt-creator/qt-creator
QmlJS: Add warning if we use a Qt Quick 1 code model for Qt Quick 2
In some cases we use a Qt Quick 1 code model for a file with Qt Quick 2 imports. This patch adds a warning for this, since auto completion is incomplete. Change-Id: I60888fd269c02f38da097104f5ecc982dd65573a Reviewed-by: Fawzi Mohamed <fawzi.mohamed@digia.com>
This commit is contained in:
@@ -120,7 +120,8 @@ enum Type
|
||||
ErrInvalidStringValuePattern = 320,
|
||||
ErrLongerStringValueExpected = 321,
|
||||
ErrShorterStringValueExpected = 322,
|
||||
ErrInvalidArrayValueLength = 323
|
||||
ErrInvalidArrayValueLength = 323,
|
||||
WarnAboutQtQuick1InsteadQtQuick2 = 324
|
||||
};
|
||||
|
||||
class QMLJS_EXPORT PrototypeMessageData {
|
||||
|
||||
Reference in New Issue
Block a user