Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
6.2.0 Beta2
-
None
-
-
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)