forked from qt-creator/qt-creator
qmljs: remove remaining references to QtQuick1
This patch removes all references to QtQuick1 in qml library, plugin, designer, profiler and tests. Change-Id: Ie286fad96060299caae3ef328330597cf53e90d3 Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
This commit is contained in:
@@ -676,7 +676,6 @@ void Check::enableQmlDesignerChecks()
|
||||
enableMessage(WarnImperativeCodeNotEditableInVisualDesigner);
|
||||
enableMessage(WarnUnsupportedTypeInVisualDesigner);
|
||||
enableMessage(WarnReferenceToParentItemNotSupportedByVisualDesigner);
|
||||
enableMessage(WarnAboutQtQuick1InsteadQtQuick2);
|
||||
enableMessage(ErrUnsupportedRootTypeInVisualDesigner);
|
||||
enableMessage(ErrInvalidIdeInVisualDesigner);
|
||||
//## triggers too often ## check.enableMessage(StaticAnalysis::WarnUndefinedValueForVisualDesigner);
|
||||
@@ -910,12 +909,6 @@ void Check::visitQmlObject(Node *ast, UiQualifiedId *typeId,
|
||||
if (iter.error() != PrototypeIterator::NoError)
|
||||
typeError = true;
|
||||
const ObjectValue *lastPrototype = prototypes.last();
|
||||
foreach (const ObjectValue *objectValue, prototypes) {
|
||||
if (objectValue->className() == QLatin1String("QGraphicsObject")
|
||||
&& _isQtQuick2) {
|
||||
addMessage(WarnAboutQtQuick1InsteadQtQuick2, typeErrorLocation);
|
||||
}
|
||||
}
|
||||
|
||||
if (iter.error() == PrototypeIterator::ReferenceResolutionError) {
|
||||
if (const QmlPrototypeReference *ref =
|
||||
|
Reference in New Issue
Block a user