Skip to content

qpa: Provide a QPlatformNativeInterface

Kai Uwe Broulik requested to merge work/kbrouli/kwin-qpa-pni into master

Under Gnome/Unity/XFCE, but not Plasma(!), QFontconfigDatabase queries the platform native interface for certain font settings (e.g. antialiasingEnabled). Without a QPNI this would crash KWin as soon as it tried to query for fonts.


Fixes running nested kwin_wayland in a Gnome/Budgie/etc session.

For the reference, Qt code that triggered this: https://code.woboq.org/qt5/qtbase/src/platformsupport/fontdatabases/fontconfig/qfontconfigdatabase.cpp.html#922

Kai Uwe Broulik kai_uwe.broulik@mbition.io on behalf of MBition GmbH

https://github.com/mercedes-benz/daimler-foss/blob/master/PROVIDER_INFORMATION.md

Edited by Kai Uwe Broulik

Merge request reports