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.
🎉
@falktx Sounds like you're close in to reinventing VST3, just without the audio processing :)