main: Allow building without QtX11Info

Seems some of it is in QtGui/private.

Signed-off-by: Falko Becker <falko.becker@mbition.io>
This commit is contained in:
Aleix Pol Gonzalez 2024-08-08 12:30:53 +02:00
parent 99ca6c03d6
commit 4e1422826f

View file

@ -54,7 +54,9 @@
// Qt
#include <QCommandLineParser>
#include <QQuickWindow>
#if KWIN_BUILD_X11
#include <private/qtx11extras_p.h>
#endif
#include <qplatformdefs.h>
#include <cerrno>