Qt 6.11 is out! See what's new in the release
blog
Wasm_32 not working with cmake.
-
Re: CMake project builds target WebAssembly?
Hi
For some reason, I need to specify the path to each qt module during assembly. it is very time consuming and terribly not convenient.
Tell me how you can immediately register the path to all qt5 modules.andrei@X570-GAMING-X:/media/E/builds/DocsSyte/build$ cmake .. -DQt5_DIR=/home/andrei/Qt/5.15.0/wasm_32/lib/cmake/Qt5 -DQt5Core_DIR=/home/andrei/Qt/5.15.0/wasm_32/lib/cmake/Qt5Core -DQt5Widgets_DIR=/home/andrei/Qt/5.15.0/wasm_32/lib/cmake/Qt5Widgets -DQt5Gui_DIR=/home/andrei/Qt/5.15.0/wasm_32/lib/cmake/Qt5Gui -DQt5Quick_DIR=/home/andrei/Qt/5.15.0/wasm_32/lib/cmake/Qt5Quick -DQt5QmlModels_DIR=/home/andrei/Qt/5.15.0/wasm_32/lib/cmake/Qt5QmlModels -DQt5Qml_DIR=/home/andrei/Qt/5.15.0/wasm_32/lib/cmake/Qt5Qml -DQt5Network_DIR=/home/andrei/Qt/5.15.0/wasm_32/lib/cmake/Qt5Network -DQt5Svg_DIR=/home/andrei/Qt/5.15.0/wasm_32/lib/cmake/Qt5Svg -DQt5Zlib_DIR=/home/andrei/Qt/5.15.0/wasm_32/lib/cmake/Qt5Zlib -DQt5VirtualKeyboard_DIR=/home/andrei/Qt/5.15.0/wasm_32/lib/cmake/Qt5VirtualKeyboardidgets -DQt5Gui_DIR=/home/andrei/Qt/5.15.0/wasm_32/lib/cmake/Qt5Gui -DQt5Quick_DIR=/home/andrei/Qt/5.15.0/wasm_32/lib/cmake/Qt5Quick -DQt5QmlModels_DIR=/home/andrei/Qt/5.15.0/wasm_32/lib/cmake/Qt5QmlModels -DQt5Qml_DIR=/home/andrei/Qt/5.15.0/wasm_32/lib/cmake/Qt5Qml -DQt5Network_DIR=/home/andrei/Qt/5.15.0/wasm_32/lib/cmake/Qt5Network -DQt5Svg_DIR=/home/andrei/Qt/5.15.0/wasm_32/lib/cmake/Qt5Svg -DQt5Zlib_DIR=/home/andrei/Qt/5.15.0/wasmWith x86 builds, I simply specified -DCMAKE_PREFIX_PATH=~/Qt/5.15/gcc_64 and everything worked. but it didn’t work with wasm_32, it still cannot find Qt modules.
How to fix it ?