Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Trying to get started with WASM preview

Trying to get started with WASM preview

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
1 Posts 1 Posters 279 Views 1 Watching
  • 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.
  • C Offline
    C Offline
    Cross_22
    wrote on last edited by
    #1

    I am following the instructions found here: https://wiki.qt.io/Qt_for_WebAssembly but cannot get my QtWidget hello world application to compile on OS X. Below are the complete steps I went through for set up:

    $ git clone git://code.qt.io/qt/qt5.git && cd qt5
    $ perl init-repository
    $ ./configure -xplatform wasm-emscripten -nomake examples -prefix $PWD/qtbase
    $ make module-qtbase module-qtdeclarative

    At this point I switched to my application directory where qmake succeeded and make failed:
    $ ~/qt5/qtbase/bin/qmake && make
    (...)
    emcc: warning: cannot represent a NaN literal '0x7feef7a6e3c0' with custom bit pattern in NaN-canonicalizing JS engines (e.g. Firefox and Safari) without erasing bits!
    in ret double 0x7FF4000000000000 in _ZL7qt_snanv.14706()
    error: undefined symbol: FT_Done_Face
    warning: To disable errors for undefined symbols use -s ERROR_ON_UNDEFINED_SYMBOLS=0
    error: undefined symbol: FT_Done_FreeType
    error: undefined symbol: FT_Get_Char_Index
    error: undefined symbol: hb_blob_create
    error: undefined symbol: hb_blob_get_empty
    error: undefined symbol: png_create_info_struct
    error: undefined symbol: png_create_read_struct
    (...)

    So what's missing?

    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