From 25301203bf1d4348dff2fba88d7b75e71e80152c Mon Sep 17 00:00:00 2001 From: Konstantin Ritt Date: Thu, 5 Nov 2015 06:00:41 +0400 Subject: Use system libpng in bundled FT, if available This is the simplest step we take on the way to supporting color bitmap glyphs with FreeType "out-of-the-box". Change-Id: Iebdb7acf937734f66a7944d153026d0735cb53d1 Reviewed-by: Oswald Buddenhagen Reviewed-by: Eskil Abrahamsen Blomfeldt --- src/3rdparty/freetype/freetype.pro | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/3rdparty/freetype') diff --git a/src/3rdparty/freetype/freetype.pro b/src/3rdparty/freetype/freetype.pro index a32579e0f9..e9436febc6 100644 --- a/src/3rdparty/freetype/freetype.pro +++ b/src/3rdparty/freetype/freetype.pro @@ -67,5 +67,9 @@ contains(QT_CONFIG, system-zlib) { DEFINES += FT_CONFIG_OPTION_SYSTEM_ZLIB include($$PWD/../zlib_dependency.pri) } +contains(QT_CONFIG, system-png) { + DEFINES += FT_CONFIG_OPTION_USE_PNG + include($$PWD/../png_dependency.pri) +} DEFINES += TT_CONFIG_OPTION_SUBPIXEL_HINTING -- cgit v1.2.3