I'm working in a plugin-based SW architecture where a parent Qt application will dynamically load shared libraries (DLLs on Widows) containing SW extension "plugins" implemented in Qt through the ActiveQt module. This works well for most Qt modules. However, the requirement for explicitly initializing WebEngine through QtWebEngineQuick::initialize() prior to creating QCoreApplication in web-based plugins is proving problematic, since the QCoreApplication object have already been initialized by the parent Qt application that is not aware of any WebEngine usage.
Observed warning in the Visual Studio "Output" window:
I'm also observing a
... crash a bit later during startup that I'm suspect might be related.
Would it be possible to somehow relax the requirement of having to explicitly initialize WebEngine prior to creating QCoreApplication, so that it becomes more compatible with plugin-based architectures?