forked from qt-creator/qt-creator
QmlDesigner: Ancient compiler workaround
Change-Id: I5ec44065023aa200e1e6194a050d2e0fe5328afb Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This commit is contained in:
@@ -114,11 +114,11 @@ ProjectStorageUpdater::Components createComponents(
|
|||||||
for (const QQmlDirParser::Component &qmlDirParserComponent : qmlDirParserComponents) {
|
for (const QQmlDirParser::Component &qmlDirParserComponent : qmlDirParserComponents) {
|
||||||
if (qmlDirParserComponent.fileName.contains('/'))
|
if (qmlDirParserComponent.fileName.contains('/'))
|
||||||
continue;
|
continue;
|
||||||
components.emplace_back(qmlDirParserComponent.fileName,
|
components.push_back({qmlDirParserComponent.fileName,
|
||||||
qmlDirParserComponent.typeName,
|
qmlDirParserComponent.typeName,
|
||||||
moduleId,
|
moduleId,
|
||||||
qmlDirParserComponent.version.majorVersion(),
|
qmlDirParserComponent.version.majorVersion(),
|
||||||
qmlDirParserComponent.version.minorVersion());
|
qmlDirParserComponent.version.minorVersion()});
|
||||||
}
|
}
|
||||||
|
|
||||||
return components;
|
return components;
|
||||||
|
Reference in New Issue
Block a user