QmlDesigner: Parse qml/QML diretory

Remove fixed fake type.

Task-number: QDS-14586
Task-number: QDS-14585
Change-Id: I8981fc39641fe6c44a9dfaaed266b711584c0527
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
Marco Bubke
2025-01-23 11:17:12 +01:00
parent 026535ffc7
commit fc4e14c558
2 changed files with 2 additions and 4 deletions

View File

@@ -283,10 +283,6 @@ Component {
name: "QOpcUaLocalizedText" name: "QOpcUaLocalizedText"
} }
Component {
name: "Qt::InputMethodHints"
}
Component { Component {
name: "QRgb" name: "QRgb"
} }

View File

@@ -379,6 +379,7 @@ namespace {
{ {
if constexpr (useProjectStorage()) { if constexpr (useProjectStorage()) {
auto qmlRootPath = qmlPath(target); auto qmlRootPath = qmlPath(target);
qmldirPaths.push_back(qmlRootPath + "/QML");
qmldirPaths.push_back(qmlRootPath + "/QtQml"); qmldirPaths.push_back(qmlRootPath + "/QtQml");
qmldirPaths.push_back(qmlRootPath + "/QtQuick"); qmldirPaths.push_back(qmlRootPath + "/QtQuick");
qmldirPaths.push_back(qmlRootPath + "/QtQuick3D"); qmldirPaths.push_back(qmlRootPath + "/QtQuick3D");
@@ -390,6 +391,7 @@ namespace {
{ {
if constexpr (useProjectStorage()) { if constexpr (useProjectStorage()) {
auto qmlRootPath = QLibraryInfo::path(QLibraryInfo::QmlImportsPath); auto qmlRootPath = QLibraryInfo::path(QLibraryInfo::QmlImportsPath);
qmldirPaths.push_back(qmlRootPath + "/QML");
qmldirPaths.push_back(qmlRootPath + "/QtQml"); qmldirPaths.push_back(qmlRootPath + "/QtQml");
qmldirPaths.push_back(qmlRootPath + "/QtQuick"); qmldirPaths.push_back(qmlRootPath + "/QtQuick");
} }