qtbase: Use bundled freetype by default
* system freetype works only together with fontconfig * building qbasicfontdatabase fails with system freetype and without fontconfig or with freetype completely disabled | /home/jenkins/webos-ports/workspace/webos-ports/tmp-eglibc/sysroots/a500/usr/include/ft2build.h:56:38: fatal error: freetype/config/ftheader.h: No such file or directory | #include <freetype/config/ftheader.h> | ^ | compilation terminated. | make[2]: *** [.obj/release-shared/qbasicfontdatabase.o] Error 1 | make[2]: *** Waiting for unfinished jobs.... Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
parent
4c177a661f
commit
e1d2257f60
|
@ -68,7 +68,10 @@ PACKAGECONFIG[examples] = ",-nomake examples"
|
|||
# accessibility is required to compile qtquickcontrols
|
||||
PACKAGECONFIG[accessibility] = "-accessibility,-no-accessibility"
|
||||
PACKAGECONFIG[glib] = "-glib,-no-glib,glib-2.0"
|
||||
PACKAGECONFIG[freetype] = "-system-freetype,-no-freetype,freetype"
|
||||
# use either system freetype or bundled freetype, if you disable freetype completely
|
||||
# fontdatabases/basic/qbasicfontdatabase.cpp will fail to build and system freetype
|
||||
# works only together with fontconfig
|
||||
PACKAGECONFIG[freetype] = "-system-freetype,-freetype,freetype"
|
||||
PACKAGECONFIG[jpeg] = "-system-libjpeg,-no-libjpeg,jpeg"
|
||||
PACKAGECONFIG[libpng] = "-system-libpng,-no-libpng,libpng"
|
||||
PACKAGECONFIG[zlib] = "-system-zlib,-qt-zlib,zlib"
|
||||
|
|
Loading…
Reference in New Issue