Layouts: Depend on QtQuick
If we don't declare the dependency our tools won't figure out where QQuickItem comes from when analyzing the dependency hierarchy of layouts. Pick-to: 6.1 Change-Id: I389c9e513a3a65143aa6b6fbf508eee584970181 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io> Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
This commit is contained in:
parent
edf8106be2
commit
fe7318a6cf
|
@ -11,6 +11,8 @@ qt_internal_add_qml_module(qquicklayoutsplugin
|
|||
DESIGNER_SUPPORTED
|
||||
CLASSNAME QtQuickLayoutsPlugin
|
||||
SKIP_TYPE_REGISTRATION
|
||||
DEPENDENCIES
|
||||
QtQuick
|
||||
PLUGIN_OPTIONAL
|
||||
SOURCES
|
||||
plugin.cpp
|
||||
|
|
|
@ -0,0 +1,7 @@
|
|||
import QtQuick
|
||||
import QtQuick.Layouts
|
||||
|
||||
Item {
|
||||
ColumnLayout { id: lll }
|
||||
property real layoutX: lll.x
|
||||
}
|
|
@ -365,6 +365,7 @@ void TestQmllint::cleanQmlCode_data()
|
|||
QTest::newRow("multiExtension") << QStringLiteral("multiExtension.qml");
|
||||
QTest::newRow("segFault") << QStringLiteral("SegFault.qml");
|
||||
QTest::newRow("grouped scope failure") << QStringLiteral("groupedScope.qml");
|
||||
QTest::newRow("layouts depends quick") << QStringLiteral("layouts.qml");
|
||||
}
|
||||
|
||||
void TestQmllint::cleanQmlCode()
|
||||
|
|
Loading…
Reference in New Issue