Working hacks are the best hacks.

I needed to get a web view on a plugin UI but directly loading gtk/qt for it is nasty, would easily break the host and other plugins...

Using a separate process is key, but then that means having to ship a separate binary...?
Well actually no!

With fancy ld-linux setup we can have a shared library also running as an executable.
Then put dlopen/dlsym stuff to load webkit/webengine symbols and we got it all self-contained. 🎉

github.com/moddevices/mod-desk

Follow

Also with hacks for loading Qt WebEngine things if available, that means dynamically loading and calling a C++ API without linking to it.
C++ symbol demangling is quite something... 🙈

Likely to come to DPF at a later point, for now this is just to show a local url without needing to do any fancy IPC.

Sign in to participate in the conversation
falkTX Mastodon

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!