diff --git a/kcms/kfontinst/kcmfontinst/KCmFontInst.cpp b/kcms/kfontinst/kcmfontinst/KCmFontInst.cpp index de1254a73..5a32ca085 100644 --- a/kcms/kfontinst/kcmfontinst/KCmFontInst.cpp +++ b/kcms/kfontinst/kcmfontinst/KCmFontInst.cpp @@ -23,7 +23,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/klipper/klipper.cpp b/klipper/klipper.cpp index 96f469cce..8a71634fc 100644 --- a/klipper/klipper.cpp +++ b/klipper/klipper.cpp @@ -38,7 +38,11 @@ #include "klipperpopup.h" #include "klippersettings.h" +#if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0) +#include +#else #include +#endif #include #if HAVE_X11 diff --git a/runners/locations/autotests/locationsrunnertest.cpp b/runners/locations/autotests/locationsrunnertest.cpp index 743a47fb3..fd3071bc2 100644 --- a/runners/locations/autotests/locationsrunnertest.cpp +++ b/runners/locations/autotests/locationsrunnertest.cpp @@ -5,7 +5,7 @@ */ #include -#include +#include #include #include #include