Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Wasm_32 not working with cmake.
Qt 6.11 is out! See what's new in the release blog

Wasm_32 not working with cmake.

Scheduled Pinned Locked Moved Unsolved General and Desktop
1 Posts 1 Posters 233 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • EndrII 0E Offline
    EndrII 0E Offline
    EndrII 0
    wrote on last edited by EndrII 0
    #1

    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/wasm
    
    

    With 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 ?

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved