Recent

Author Topic: Qt for WebAssembly  (Read 850 times)

Bogen85

  • Hero Member
  • *****
  • Posts: 595
Qt for WebAssembly
« on: December 07, 2022, 06:39:06 am »
Would be nice to target WebUI applications with Lazarus.

https://doc.qt.io/qt-6/wasm.html

I know there is this https://wiki.freepascal.org/WebAssembly/DOM

But it would be nicer to just run a Lazarus Qt app in a web browser.

I know there are complexities with that (I've done it with other language apps running in a browser, targeting the DOM), as there is not full support in a browser like one would get on a desktop OS (Linux, MacOS, Windows, BSD, etc) and one needs to have the front end app communicating with a back end app on a server.


PierceNg

  • Sr. Member
  • ****
  • Posts: 374
    • SamadhiWeb
Re: Qt for WebAssembly
« Reply #1 on: December 07, 2022, 07:15:07 am »
Description reads like custom-drawn widgets on a WebGL/OpenGL canvas. For FP, is possible (but dunno how hard) to have LCL custom drawn, fpGUI or MSEgui target the same. Downside of drawing widgets on a canvas is losing the established tools and know-how for DOM-based debugging.

 

TinyPortal © 2005-2018