Uploaded image for project: 'Qt Design Studio'
  1. Qt Design Studio
  2. QDS-9734

Build of QmlDesigner broken against latest Qt 6.6 snapshot

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Not Evaluated
    • None
    • QDS 4.0.1
    • Buildsystem
    • None
    • 017c57c7a (qds/dev)
    • QDS Berlin - 2023 Week 17/18

    Description

      /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
      

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            bubke Marco Bubke
            portale Alessandro Portale
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes