This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Running plasmashell wallpaper module code in UI thread

Tags: None
(comma "," separated)
theunknown
Registered Member
Posts
2
Karma
0
Hey,
I am developing a wallpaper module which uses QtWebEngine to display HTML pages as a wallpaper.
To initialize the WebEngine one must call QtWebEngine::initialize(), which I do in a QML extension corresponding to the KDE QML with extension template.
However I get an error that QtWebEngine::initialize() must be called in an GUI thread.
Is there any way for a module to run code in the UI thread of plasmashell?


Bookmarks



Who is online

Registered users: bartoloni, Bing [Bot], Google [Bot], Yahoo [Bot]