Skip to content

Unbreak build where XLib's Bool definition harms moc generated code

Friedrich W. H. Kossebau requested to merge work/kossebau/eglpullsxlib into kf5

An other option might be to copy fix11h.h over and include that afterwards. Not sure what is better.

Cmo. e.g. https://invent.kde.org/frameworks/plasma-framework/-/blob/master/src/declarativeimports/core/windowthumbnail.h#L27

#include <EGL/egl.h>
#include <EGL/eglext.h>
#include <fixx11h.h> // egl.h could include XLib.h

(plasma-framework links kwindowsystem, so gets that include from its public headers)

Merge request reports