Commit 434e51c6 authored by Kai Koehne's avatar Kai Koehne
Browse files

QmlDesigner: Disable code referencing QGraphicsWidget from autotest

QGraphicsWidget has been moved to a qml runtime plugin.
parent 884ba93b
......@@ -3072,11 +3072,11 @@ void TestCore::testMetaInfo()
QVERIFY(!textNodeMetaInfo.isGraphicsWidget());
// test types declared with EXTENDED_OBJECT
NodeMetaInfo graphicsWidgetInfo = model->metaInfo().nodeMetaInfo("Qt/QGraphicsWidget", 4, 6);
QVERIFY(graphicsWidgetInfo.isValid());
QVERIFY(graphicsWidgetInfo.hasProperty("layout")); // from QGraphicsWidgetDeclarativeUI
QVERIFY(graphicsWidgetInfo.hasProperty("font")); // from QGraphicsWidget
QVERIFY(graphicsWidgetInfo.hasProperty("enabled")); // from QGraphicsItem
// NodeMetaInfo graphicsWidgetInfo = model->metaInfo().nodeMetaInfo("Qt/QGraphicsWidget", 4, 6);
// QVERIFY(graphicsWidgetInfo.isValid());
// QVERIFY(graphicsWidgetInfo.hasProperty("layout")); // from QGraphicsWidgetDeclarativeUI
// QVERIFY(graphicsWidgetInfo.hasProperty("font")); // from QGraphicsWidget
// QVERIFY(graphicsWidgetInfo.hasProperty("enabled")); // from QGraphicsItem
}
void TestCore::testMetaInfoDotProperties()
......
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