[Buildroot] [PATCH v4 08/21] qt5base: install bundled fonts to target
Floris Bos
bos at je-eigen-domein.nl
Tue Mar 19 22:07:27 UTC 2013
On 03/19/2013 10:43 PM, Peter Korsgaard wrote:
>>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni at free-electrons.com> writes:
> Thomas> From: Floris Bos <bos at je-eigen-domein.nl>
> Thomas> If not using font-config, Qt 5 offers a set of standard fonts to
> Thomas> use instead. Install these to target.
>
> Should that then only happen if !BR2_PACKAGE_QT5BASE_FONTCONFIG?
Could add a check to only execute QT5BASE_INSTALL_TARGET_FONTS if
!BR2_PACKAGE_QT5BASE_FONTCONFIG, if that looks cleaner.
But the standard Qt build script already causes that:
==
mkspecs/features/qpa/genericunixfontdatabase.prf
CONFIG += qpa/basicunixfontdatabase
contains(QT_CONFIG, fontconfig) {
DEFINES += Q_FONTCONFIGDATABASE
LIBS += -lfontconfig
} else {
fonts.path = $$[QT_INSTALL_LIBS]/fonts
fonts.files = $$QT_SOURCE_TREE/lib/fonts/*
INSTALLS += fonts
}
==
If fonts are not installed to staging (by INSTALLS += fonts), they are
not copied to target either.
--
Yours sincerely,
Floris Bos
More information about the buildroot
mailing list