Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-111474

error: no matching constructor for initialization of 'QQmlJSCodeGenerator'

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P0: Blocker
    • None
    • 6.5.0 RC
    • QML: Compiler
    • None
    • macOS

    Description

      /Users/qt/work/qt/tqtc-qmlcompilerplus/src/qmlcompilerplus/bytecodetranslator.cpp:75:7: error: no matching constructor for initialization of 'QQmlJSCodeGenerator'
      QQmlJSCodeGenerator(compilerContext, unitGenerator, typeResolver, logger, sourceCodeLines)
      ^                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      /Users/qt/work/install/lib/QtQmlCompiler.framework/Headers/6.5.0/QtQmlCompiler/private/qqmljscodegenerator_p.h:33:5: note: candidate constructor not viable: requires 4 arguments, but 5 were provided
      QQmlJSCodeGenerator(const QV4::Compiler::Context *compilerContext,
      ^
      /Users/qt/work/install/lib/QtQmlCompiler.framework/Headers/6.5.0/QtQmlCompiler/private/qqmljscodegenerator_p.h:30:36: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 5 were provided
      class Q_QMLCOMPILER_PRIVATE_EXPORT QQmlJSCodeGenerator : public QQmlJSCompilePass
      ^
      1 error generated.
      
      ...
      
       /Users/qt/work/qt/tqtc-qmlcompilerplus/src/qmlcompilerplus/cppcodegen.cpp:120:17: error: use of undeclared identifier 'm_entireSourceCodeLines'
      m_entireSourceCodeLines, m_semantics, m_typeStorage);
      

      Attachments

        Activity

          People

            qtqmlteam Qt Qml Team User
            janihe Jani Heikkinen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: