Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt for WebAssembly
  4. Problems building Qt5 for WebAssembly

Problems building Qt5 for WebAssembly

Scheduled Pinned Locked Moved Unsolved Qt for WebAssembly
2 Posts 2 Posters 356 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.
  • D Offline
    D Offline
    DragonOsman
    wrote on last edited by
    #1

    I'm trying to build Qt 5, pulled from the GitHub repository dev branch, for WebAssembly with thread support but having problems. I configured with this command:

    configure -no-warnings-are-errors -xplatform wasm-emscripten -platform win32-g++ -nomake examples -prefix C:/qt5/qtbase -device-model WASM_OBJECT_FILES=1 -feature-thread
    

    Note: I don't remember the correct option for specifying the setting for building Wasm object files, but I did get the correct wording when configuring which I know because I didn't get errors on it.

    I don't have the full output from running mingw-32-make since it's really long and most of the stuff from the beginning was cut off, but I'll show what I do have: https://gist.github.com/DragonOsman/075091a0b82ceba5596cf70dde2369ae .

    How do I fix the problem of it not being able to fin that stuff it says it can't find? Thanks in advance.

    1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      You can use the prebuilt Qt for WebAssembly from the official Qt installer.

      Anyway, since your compilation fails on Qt3D, try skipping that module.

      (Z(:^

      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