Program crashed but I don't know how to fix
-
Hello everyone,
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:
https://1drv.ms/i/s!AqaeHLtTIsoIhOhWolFloWfYp0XJRQAnd here is the code which is the reason for the error:
http://paste.ofcode.org/mCjb2c7RY6DszUjQqebtYDPlus 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)Thank you,
Henrik -
Any idea?
-
Please provide a minimal example so that we can try to reproduce this.
-
Did you call
QtWebEngine::initialize();
?
see http://doc.qt.io/qt-5/qtwebengine.html -
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.