[Interest] Qt wasm: location object?

Alexander Rössler machinekoder at gmail.com
Tue Mar 12 22:41:43 CET 2019


I just wrote a small WebSocket chat example to play around with Qt wasm.
However, one thing that quickly came to my mind was how to find out the
server address.

Usually, in JavaScript one would use location.host for this purpose. Is
there an alternative in Qt wasm?

Thanks,
Alex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20190312/c009d7d8/attachment.html>


More information about the Interest mailing list