summaryrefslogtreecommitdiffstats
path: root/src/kernel/qt_x11_p.h
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2025-01-10 13:17:31 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-01-12 11:39:54 +0900
commit1c9111b3795a3b87254cbac172dcc565c7f76a57 (patch)
tree4989457372b878ec193198dc9c0501baef7f930f /src/kernel/qt_x11_p.h
parentc147c9001b60295bdd731f95d805460c8973621b (diff)
downloadtqt-1c9111b3795a3b87254cbac172dcc565c7f76a57.tar.gz
tqt-1c9111b3795a3b87254cbac172dcc565c7f76a57.zip
Drop code for obsolete FreeType 1
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit ccd304b2a6415d8b747d04b3a47736d1e6f45717)
Diffstat (limited to 'src/kernel/qt_x11_p.h')
-rw-r--r--src/kernel/qt_x11_p.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/kernel/qt_x11_p.h b/src/kernel/qt_x11_p.h
index a94300a24..8c1f043a5 100644
--- a/src/kernel/qt_x11_p.h
+++ b/src/kernel/qt_x11_p.h
@@ -157,17 +157,6 @@ extern "C" {
# else
# include <X11/Xft/Xft.h>
# endif // QT_USE_XFT2_HEADER
-# if defined(XFT_VERSION) && XFT_VERSION >= 20000
-# define QT_XFT2
-# else
-# include <X11/Xft/XftFreetype.h>
-// Xft1 doesn't have these functions, so we implement them in qtaddons_x11.cpp
-extern "C" {
- TQt::HANDLE XftDrawPicture( XftDraw * );
- void XftDrawSetClipRectangles(XftDraw *, int, int, XRectangle *, int);
- void XftDrawSetSubwindowMode(XftDraw *, int);
-}
-# endif // XFT_VERSION
# endif // TQT_NO_XFTFREETYPE
#else
// make sure TQT_NO_XFTFREETYPE is defined if TQT_NO_XRENDER is defined