Page MenuHomePhabricator

WebEngine hangs when loaded in a plugin with AMD Radeon display adapter
Closed, ResolvedPublic

Description

From an email of Mikhail:

I've fixed mysterious qt issue with QLibrary load
this bug: https://bugreports.qt.io/browse/QTBUG-52954
is very actual for 10 may Qt 5.6.1 build and nvidia on windows
to resolve this I've made what issue creator suggested and it's really helped me
Just adding QOpengl context initialization to MitkCoreApplication magically resolves it, without this patch MITK won't start for me.

Event Timeline

The same issue was freezing the workbench in my nvidia hardware with Qt 5.6.0. I've added the following lines to main():

app.initializeQt();

// Force QOpenGL context initialization
// http://bugs.mitk.org/show_bug.cgi?id=19758
QOpenGLContext context;
context.create();

And it solved the issue. This is reported as solved in Qt 5.6.1 but I haven't had the change to test it.

kislinsk claimed this task.
kislinsk added a subscriber: kislinsk.

This should be solved meanwhile.