Use QQuickWidget instead of QQuickView for the main view in the kcm
ClosedPublic

Authored by fvogt on Mar 5 2018, 9:51 AM.

Details

Summary

This makes it usable on wayland. The Qt Wayland support for subsurfaces
is broken in many ways, producing practically unusuable graphics and crashes.
https://bugreports.qt.io/browse/QTBUG-54888 for instance.

Test Plan

Used it on wayland works fine now.

Diff Detail

Repository
R104 KScreen
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
fvogt created this revision.Mar 5 2018, 9:51 AM
Restricted Application added a project: Plasma. · View Herald TranscriptMar 5 2018, 9:51 AM
fvogt requested review of this revision.Mar 5 2018, 9:51 AM
davidedmundson accepted this revision.Mar 5 2018, 11:47 AM
davidedmundson added a subscriber: davidedmundson.

Thanks for finding a simple fix for this, it was super annoying.

This revision is now accepted and ready to land.Mar 5 2018, 11:47 AM
This revision was automatically updated to reflect the committed changes.