Details
-
Technical task
-
Resolution: Unresolved
-
P2: Important
-
None
-
None
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
- relates to
-
QTBUG-103246 Qt should have a QIo like what KIO is. But much much better
- Open