https://bugs.kde.org/show_bug.cgi?id=495758

--- Comment #8 from Heiko Becker <heiko.bec...@kde.org> ---
Git commit a23432f218f9a4094f31e31ea1c109464cb5bf04 by Heiko Becker.
Committed on 20/11/2024 at 21:17.
Pushed by heikobecker into branch 'master'.

plasmawindowed: Use shared contexts analogue to plasmashell

This fixes loading applets using QtWebEngine, which otherwise may
complain about something like this:

"QtWebEngineQuick::initialize() must be called from the Qt gui thread."

According to Qt's docs [1] setting the Qt::AA_ShareOpenGLContexts
attribute before constructing a QGuiApplication, has the same effect as
QtWebEngineQuick::initialize() and avoids pulling in the humongous
dependency.

For plasmashell it has been introduced with
6c1c6b86db07348b636c39ee344a12570e4e322c.

[1] https://doc.qt.io/qt-6/qtwebenginequick.html

M  +1    -0    plasma-windowed/main.cpp

https://invent.kde.org/plasma/plasma-workspace/-/commit/a23432f218f9a4094f31e31ea1c109464cb5bf04

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to