Details
-
Suggestion
-
Resolution: Fixed
-
Not Evaluated
-
6.2.2
-
None
-
VS2019
-
-
aeea3674f (dev), a05768201 (6.7), 423f3a98d (6.6)
Description
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:
QtWebEngineQuick::initialize() called with QCoreApplication object already created and should be call before. This is depreciated and may fail in the future.
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?