When trying to use OpenGL inside KWin with the QPainter compositor it can - in worst case - result in a freeze. If QPainter is used, chances are high that OpenGL doesn't work. So QML should also not use OpenGL, 2D renderer should be enabled.
Description
Description
Comment Actions
There's a challenge with this:
QQuickWindow::setSceneGraphBackend only matters before the first window is created.
Adding is easy, but given you can switch between Scene backends, that gives us 4 combinations to support.
I was going to add a KCM for QtQuick settings in general, kwin can at the least load that.
Comment Actions
So I've made it work correctly and made KWin load Plasma's settings.
(it's loaded via kconfig, so any app can override in their appnamerc)
Making it change at runtime is not something Qt *currently* supports; at which point tying it in to the current render engine I don't think makes too much sense.