From 293bcf43878720f151a845fb9e025901065368c8 Mon Sep 17 00:00:00 2001 From: Ivailo Monev Date: Fri, 17 Sep 2021 00:30:06 +0300 Subject: [PATCH] move fontconfig header inclusion where it is actually used Signed-off-by: Ivailo Monev --- src/gui/kernel/qapplication_x11.cpp | 4 ++++ src/gui/kernel/qt_x11_p.h | 4 ---- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/gui/kernel/qapplication_x11.cpp b/src/gui/kernel/qapplication_x11.cpp index 93b5b7122..97fc90e9d 100644 --- a/src/gui/kernel/qapplication_x11.cpp +++ b/src/gui/kernel/qapplication_x11.cpp @@ -78,6 +78,10 @@ # include #endif +#ifndef QT_NO_FONTCONFIG +#include +#endif + QT_BEGIN_NAMESPACE /* Warning: if you modify this string, modify the list of atoms in qt_x11_p.h as well! */ diff --git a/src/gui/kernel/qt_x11_p.h b/src/gui/kernel/qt_x11_p.h index 9d01d8f70..c0c15ab26 100644 --- a/src/gui/kernel/qt_x11_p.h +++ b/src/gui/kernel/qt_x11_p.h @@ -96,10 +96,6 @@ #include #endif -#ifndef QT_NO_FONTCONFIG -#include -#endif - QT_BEGIN_NAMESPACE class QWidget; -- 2.11.0