QmlDesigner: Fix for missing QtQuick import

Pick-to: qds/4.7
Fixes: QDS-14828
Change-Id: Id8ed1cd1daf16d0773a4ae0431745ab8956adb6b
Reviewed-by: Aleksei German <aleksei.german@qt.io>
This commit is contained in:
Aleksei German
2025-03-03 13:52:38 +01:00
parent ea820c3fca
commit f92524e5d9

View File

@@ -401,6 +401,7 @@ void ItemLibraryModel::update(Model *model)
// we need to exclude all items from unsupported imports but only if they are not user-defined modules
if (!(entry.category() == ItemLibraryImport::userComponentsTitle())
&& !entry.requiredImport().isEmpty()
&& !mcuManager.allowedImports().contains(entry.requiredImport())) {
blocked = true;
}