Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Plasma
KWin
Commits
68a8fa60
Commit
68a8fa60
authored
Mar 21, 2022
by
Volker Krause
Committed by
Vlad Zahorodnii
Mar 25, 2022
Browse files
Adapt to QQuickWindow graphics backend API changes in Qt6
parent
2a171e5f
Pipeline
#154713
passed with stage
in 14 minutes and 1 second
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
src/composite.cpp
View file @
68a8fa60
...
...
@@ -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
();
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment