mirror of
https://github.com/thead-yocto-mirror/meta-qt5
synced 2026-09-16 20:21:56 +02:00
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:
@@ -66,7 +66,10 @@ PACKAGECONFIG[tests] = ",-nomake tests"
|
||||
PACKAGECONFIG[examples] = ",-nomake examples"
|
||||
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"
|
||||
|
||||
Reference in New Issue
Block a user