summaryrefslogtreecommitdiffstats
path: root/src/gui/platform
diff options
context:
space:
mode:
authorAlexey Edelev <alexey.edelev@qt.io>2022-05-11 17:21:37 +0200
committerAlexey Edelev <alexey.edelev@qt.io>2022-05-12 16:34:25 +0200
commitb98706f12207112645cc02a6df4868ebda2db8be (patch)
tree830ed926396119ec955137c876963945958ba16f /src/gui/platform
parenta3e13cdacf51c29224e47d1d2f6fb0e72401c7b2 (diff)
Add missing header files to the module sources
All module header files should be listed in the corresponding sections of modules SOURCEs to be accessible in CMake routines. Task-number: QTBUG-103196 Change-Id: Ieb77ae70557e35e546a5b00387e1e0aa40338239 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'src/gui/platform')
-rw-r--r--src/gui/platform/unix/qgenericunixeventdispatcher.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gui/platform/unix/qgenericunixeventdispatcher.cpp b/src/gui/platform/unix/qgenericunixeventdispatcher.cpp
index 2e1d81a181..df8ddfaf2f 100644
--- a/src/gui/platform/unix/qgenericunixeventdispatcher.cpp
+++ b/src/gui/platform/unix/qgenericunixeventdispatcher.cpp
@@ -39,8 +39,9 @@
#include "qgenericunixeventdispatcher_p.h"
#include "qunixeventdispatcher_qpa_p.h"
-#include "qeventdispatcher_glib_p.h"
-
+#if QT_CONFIG(glib)
+# include "qeventdispatcher_glib_p.h"
+#endif
QT_BEGIN_NAMESPACE
class QAbstractEventDispatcher *QtGenericUnixDispatcher::createUnixEventDispatcher()