Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-81757

Can't create a WASM library with Qt ?

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • P2: Important
    • None
    • 5.14.0, 5.14.1
    • Build System, QPA
    • None
    • WebAssembly

    Description

      ATM I can build full Qt/QML apps with Qt for WebAssembly and run them fine in a browser with qtloader.js and WebGL support, but my need is much simpler, still cannot find any information on how to do it, or even possible :

      I need to create a simple WASM module that exposes a function with signature (QString) -> QString, using only Core and QML modules (no GUI, Quick, etc) and I first thought I would just need to set TEMPLATE = library in QMake project then somehow expose my function, but no clue.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            lpotter Lorn Potter
            thebootroo Thomas Boutroue
            Veli-Pekka Heinonen Veli-Pekka Heinonen
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes