Fix warning
AbandonedPublic

Authored by apol on Oct 8 2017, 11:46 PM.

Details

Reviewers
davidedmundson
Group Reviewers
Plasma
Summary

Otherwise I get:
Qt WebEngine seems to be initialized from a plugin. Please set
Qt::AA_ShareOpenGLContexts using QCoreApplication::setAttribute
before constructing QGuiApplication.

Diff Detail

Repository
R120 Plasma Workspace
Branch
master
Lint
No Linters Available
Unit
No Unit Test Coverage
apol created this revision.Oct 8 2017, 11:46 PM
Restricted Application added a project: Plasma. · View Herald TranscriptOct 8 2017, 11:46 PM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
davidedmundson requested changes to this revision.Oct 10 2017, 11:14 AM
davidedmundson added a subscriber: davidedmundson.

This Attribute would make sense to set in kquickaddons with my QtQuick settings code.
The image texture cache in k-d needs updating to test this flag and not do per screen stuff.

But as we showed, a runner loading all of webengine is weird. Let Zanshin fix their side.

This revision now requires changes to proceed.Oct 10 2017, 11:14 AM
apol abandoned this revision.Oct 10 2017, 11:15 AM

It was only happening because of Zanshin, waiting for their feedback.
https://bugs.kde.org/show_bug.cgi?id=385548