Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-63925 WebAssembly: shared libraries and dynamic linking
  3. QTBUG-124884

QLibrary/QPluginLoader: add async load() public API

    XMLWordPrintable

Details

    • Technical task
    • Resolution: Unresolved
    • P2: Important
    • None
    • Other
    • None
    • All, WebAssembly

    Description

      Emscripten supports downloading and opening libraries asynchronously, via the emscripten_dlopen() call. However since the current QLibrary API is synchronous we can't use it today.

      Investigate if adding an async load() API to QLibrary is possible. The API could be supported cross-platform: use emscripten_dlopen() on WebAssembly, and fall back to calling dlopen() on other platforms.

      Suggested API addition:

        QLibrary::loadAsync()
        signal QLibrary::libraryLoaded()

      Attachments

        Issue Links

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

          Activity

            People

              qt.webassembly qt.webassembly
              sorvig Morten Sørvig
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes