Program crashed but I don't know how to fix
I am using QWebEngineView and I get an error after I closed my program. Here's the output of the console:
Debuggen beginnt QML debugging is enabled. Only use this in a safe environment. QWindowsWindow::setGeometry: Unable to set geometry 66x34+640+280 on QWidgetWindow/'QToolBarClassWindow'. Resulting geometry: 120x34+640+280 (frame: 8, 31, 8, 8, custom margin: 0, 0, 0, 0, minimum size: 47x34, maximum size: 16777215x16777215). [1203/135949:ERROR:scoped_ole_initializer.cc(20)] Multiple OleInitialize() calls for thread 3352 [1203/140021:FATAL:resource_scheduler.cc(1051)] Check failed: client_map_.empty().
Here is one picture:
And here is the code which is the reason for the error:
Plus these error:
:-1: Fehler: Exception at 0x7ffb407d7788, code: 0x800706b5: , flags=0x1 (execution cannot be continued) (first chance)
:-1: Fehler: Exception at 0x7ffb407d7788, code: 0x40080202: , flags=0x0 (first chance)
Please provide a minimal example so that we can try to reproduce this.
Did you call
I have test the QtWebEngine::initialize();
But the errors are still there
The problem is the same as in your other thread: you need to take care of the destruction order of your qobjects.