Why Nostr? What is Njump?
2024-09-02 23:05:45

npub1uz…c06u5 on Nostr: Trying to dynamically load and call a C++ shared library is some serious challenge. ...

Trying to dynamically load and call a C++ shared library is some serious challenge.

mangled names everywhere, vtable shenanigans and if dealing with Qt also qobject/qmetaobject weirdness...

But it works! I am able to dynamically create a QApplication, spawn a QWebEngineView, set some parameters and create a fake QObject class to receive some events.
All without linking to Qt directly, and compatible with both Qt5 and Qt6.

This way if the system does not have gtk3 webkit, Qt is fallback.

🎉
Author Public Key
npub1uzx298rmzdnqtqc4c9ffd2a3kktdp6qgfw55llykc63kdc90qjuqfc06u5