Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-128594 Wasm Event Dispatcher Asyncify Redesign
  3. QTBUG-129748

Further improve Qt configure user experience when using JSPI

    XMLWordPrintable

Details

    • Sub-task
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • Build System
    • None
    • WebAssembly
    • 92ad0f1f0 (dev)

    Description

      Configure Options

      The current configure API for enabling JSPI is:

      configure [...] -device-option QT_EMSCRIPTEN_ASYNCIFY=2 -feature-wasm-exceptions

      This can be simplified by adding a "wasm-jspi" feature:

      configure [...] -wasm-jspi

      Enabling Exceptions

      Should "wasm-jspi also enable wasm-exceptions? Yes: QtCore enables exceptions unconditionally, which for the JSPI build should be wasm-exceptions. Since wasm-exceptions need a linker flag we need to enable wasm-exceptions at configure time. (This is unlike the default Emscripten exceptions which requires a compile-flag only)

       

      Attachments

        For Gerrit Dashboard: QTBUG-129748
        # Subject Branch Project Status CR V

        Activity

          People

            sorvig Morten Sørvig
            sorvig Morten Sørvig
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes