Details
-
Sub-task
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
Description
emscripten has partial support for passing commandline arguments to the webpage app.
You can pass arguments to wasm apps two ways:
http://localhost:6931/wasm-args.html?files=quark.qml,quack.qml
even easier, emrun has support
emrun --browser=firefox_nightly wasm-args.html "files=quark.qml&files2=quack.qml"
The glue to have them show up as argv exists in emscripten, but needs javascript glue.
Attachments
Gerrit Reviews
For Gerrit Dashboard: QTBUG-72670 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
248624,6 | wasm: pass search parameters as commandline arguments | 5.15 | qt/qtbase | Status: ABANDONED | -1 | 0 |
249019,2 | nothread: remove bypass for old isThisThread issue | 5.13 | qt/qtdeclarative | Status: ABANDONED | -1 | 0 |