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

Qt6WasmMacros.cmake uses wrong paths for wasm_shell.html, qtloader.js and qtlogo.svg

    XMLWordPrintable

    Details

    • Platform/s:
      WebAssembly
    • Commits:
      175e81ffbdc5d41fa58b24a5447be9219ea755da (qt/qtbase/dev) db3826c94acecef07eeb2bd275863e3d6572336b (qt/qtbase/6.2)

      Description

      The CMake file expectes these files to be located at ${WASM_BUILD_DIR}/plugins/platforms when in fact they are found at ${WASM_BUILD_DIR}/src/plugins/platforms/wasm.

      This then causes the build of Qt with Emscripten to fail with

      CMake Error: File /src/qt-everywhere-src-6.2.0-beta2/qtbase/plugins/platforms/qtloader.js does not exist.
      CMake Error at qtbase/lib/cmake/Qt6Core/Qt6WasmMacros.cmake:17 (configure_file):
        configure_file Problem configuring file
      Call Stack (most recent call first):
        qtbase/cmake/QtExecutableHelpers.cmake:37 (qt6_wasm_add_target_helpers)
        qtbase/cmake/QtAppHelpers.cmake:18 (qt_internal_add_executable)
        qttools/src/linguist/linguist/CMakeLists.txt:7 (qt_internal_add_app)
      

        Attachments

        For Gerrit Dashboard: QTBUG-95806
        # Subject Branch Project Status CR V

          Activity

            People

            Assignee:
            lpotter Lorn Potter
            Reporter:
            berglerm Manuel Bergler
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes