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

quick examples not compiling on Wasm: CMake Error at .../wasm_32/lib/cmake/Qt6/QtPublicPluginHelpers.cmake

    XMLWordPrintable

Details

    • WebAssembly
    • 73d8a2c01667d1c1ac11d5bf0121b3a144ceb5f1 (qt/qtdeclarative/dev) d73f98b1b560ce9776250f0a81c37682de0c8190 (qt/qtdeclarative/dev) edc4357ae4893dd952ce1c07b180b4b334047606 (qt/qtdeclarative/dev) 9381968159e63982f8cbcfa1ded8bf1d685d92f0 (qt/qtdeclarative/6.2)

    Description

      Qt6.2.0 RC2 WebAssembly binaries, configure example quick/window/windowexample, fails with:

      -- Found GLESv2: ON  
      CMake Error at /home/qt/RTA/qt5/6.2.0/wasm_32/lib/cmake/Qt6/QtPublicPluginHelpers.cmake:169 (message):
        No QT_PLUGIN_CLASS_NAME value on target: 'window_shared'
      Call Stack (most recent call first):
        /home/qt/RTA/qt5/6.2.0/wasm_32/lib/cmake/Qt6/QtPublicPluginHelpers.cmake:225 (__qt_internal_get_plugin_import_macro)
        /home/qt/RTA/qt5/6.2.0/wasm_32/lib/cmake/Qt6Qml/Qt6QmlMacros.cmake:569 (__qt_internal_add_static_plugin_init_object_library)
        /home/qt/RTA/qt5/6.2.0/wasm_32/lib/cmake/Qt6Qml/Qt6QmlMacros.cmake:599 (qt6_add_qml_module)
        /home/qt/RTA/qt5/Examples/Qt-6.2.0/quick/shared/CMakeLists.txt:14 (qt_add_qml_module)
      

      Same error with following examples:

      quick/window/windowexample
      quick/views/viewsexample
      quick/touchinteraction/touchinteractionexample
      quick/threading/threadingexample
      quick/text/textexample
      quick/animation/animationexample
      quick/positioners/positionersexample
      quick/righttoleft/righttoleftexample
      quick/shapes/shapesexample

      All above examples are compiled with e.g. destkop gcc_64 binaries.

      Attachments

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

        Activity

          People

            alexandru.croitor Alexandru Croitor
            joaijala Johanna Äijälä
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: