Commit 68a8fa60 authored by Volker Krause's avatar Volker Krause Committed by Vlad Zahorodnii
Browse files

Adapt to QQuickWindow graphics backend API changes in Qt6

parent 2a171e5f
Pipeline #154713 passed with stage
in 14 minutes and 1 second
......@@ -310,7 +310,11 @@ bool Compositor::setupStart()
if (!Workspace::self() && m_backend && m_backend->compositingType() == QPainterCompositing) {
// Force Software QtQuick on first startup with QPainter.
#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
QQuickWindow::setSceneGraphBackend(QSGRendererInterface::Software);
#else
QQuickWindow::setGraphicsApi(QSGRendererInterface::Software);
#endif
}
Q_EMIT sceneCreated();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment