summaryrefslogtreecommitdiffstats
path: root/src/kernel/tqt_x11_p.h
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2025-01-10 13:17:31 +0900
committerMichele Calgaro <[email protected]>2025-01-10 13:17:31 +0900
commitccd304b2a6415d8b747d04b3a47736d1e6f45717 (patch)
treeb527d8b4ad438ebb1a96699d409e1cd5b9b368ea /src/kernel/tqt_x11_p.h
parent2b0ea37581b2fa4eba2b353d45dc134fbafe0b0f (diff)
downloadtqt3-ccd304b2a6415d8b747d04b3a47736d1e6f45717.tar.gz
tqt3-ccd304b2a6415d8b747d04b3a47736d1e6f45717.zip
Drop code for obsolete FreeType 1
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'src/kernel/tqt_x11_p.h')
-rw-r--r--src/kernel/tqt_x11_p.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/kernel/tqt_x11_p.h b/src/kernel/tqt_x11_p.h
index 05bbf80b5..b21fe3732 100644
--- a/src/kernel/tqt_x11_p.h
+++ b/src/kernel/tqt_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