/home/alportal/dev/tqtc-qtc-super/qtcreator/src/plugins/qmldesigner/designercore/projectstorage/qmldocumentparser.cpp: In member function ‘virtual QmlDesigner::Storage::Synchronization::Type QmlDesigner::QmlDocumentParser::parse(const QString&, QmlDesigner::Storage::Synchronization::Imports&, QmlDesigner::SourceId, Utils::SmallStringView)’:
/home/alportal/dev/tqtc-qtc-super/qtcreator/src/plugins/qmldesigner/designercore/projectstorage/qmldocumentparser.cpp:295:25: error: no matching function for call to ‘QQmlJS::Dom::DomItem::loadFile(QString&, QString&, const QString&, QDateTime, QmlDesigner::QmlDocumentParser::parse(const QString&, QmlDesigner::Storage::Synchronization::Imports&, QmlDesigner::SourceId, Utils::SmallStringView)::<lambda(QQmlJS::Dom::Path, const QQmlJS::Dom::DomItem&, const QQmlJS::Dom::DomItem&)>, QQmlJS::Dom::LoadOption, QQmlJS::Dom::DomType)’
295 | environment.loadFile(
| ~~~~~~~~~~~~~~~~~~~~^
296 | filePath,
| ~~~~~~~~~
297 | filePath,
| ~~~~~~~~~
298 | sourceContent,
| ~~~~~~~~~~~~~~
299 | QDateTime{},
| ~~~~~~~~~~~~
300 | [&](QmlDom::Path, const QmlDom::DomItem &, const QmlDom::DomItem &newItems) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
301 | items = newItems;
| ~~~~~~~~~~~~~~~~~
302 | },
| ~~
303 | QmlDom::LoadOption::DefaultLoad,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
304 | QmlDom::DomType::QmlFile);
| ~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/alportal/Qt/6.6.0/gcc_64/include/QtQmlDom/6.6.0/QtQmlDom/private/qqmldomtop_p.h:18,
from /home/alportal/dev/tqtc-qtc-super/qtcreator/src/plugins/qmldesigner/designercore/projectstorage/qmldocumentparser.cpp:14:
/home/alportal/Qt/6.6.0/gcc_64/include/QtQmlDom/6.6.0/QtQmlDom/private/qqmldomitem_p.h:1037:10: note: candidate: ‘void QQmlJS::Dom::DomItem::loadFile(const QQmlJS::Dom::FileToLoad&, std::function<void(QQmlJS::Dom::Path, QQmlJS::Dom::DomItem&, QQmlJS::Dom::DomItem&)>, QQmlJS::Dom::LoadOptions, std::optional<QQmlJS::Dom::DomType>)’
1037 | void loadFile(const FileToLoad &file, std::function<void(Path, DomItem &, DomItem &)> callback,
| ^~~~~~~~
/home/alportal/Qt/6.6.0/gcc_64/include/QtQmlDom/6.6.0/QtQmlDom/private/qqmldomitem_p.h:1037:10: note: candidate expects 4 arguments, 7 provided