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

wasm: quicktooling build failure

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Not Evaluated
    • None
    • 6.0.0
    • None
    • WebAssembly

    Description

      Using the WIP cmake for wasm patch for qtbase, I am trying to build qtdeclarative and getting an odd build error:

       

      src/imports/tooling/.rcc/qmlcache/quicktooling_qml_files_2/Component_qml.cpp:243:105: error: no viable conversion from 'nullptr_t' to 'QList<QMetaType>'
      extern const QQmlPrivate::AOTCompiledFunction aotBuiltFunctions[] = {

      { 0, QMetaType::fromType<void>(), nullptr }

      };}
      ^~~~~~~
      /Users/lpotter/development/builds/qtbase-cmake/include/QtCore/../../../../../depot/qt/qt5/qtbase/src/corelib/tools/qlist.h:100:7: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'nullptr_t' to 'const QList<QMetaType> &' for 1st argument
      class QList

      These files are generated from qml files.

      I can get it to build if I change the nullptr to QList<QMetaType>() in the generated cpp file.

       

      comments? hints?

       

      Attachments

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

        Activity

          People

            qtbuildsystem Qt Build System Team
            lpotter Lorn Potter
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes