b84ff8525c
When built without fontconfig support, the basic unix font database relies on fonts installed in libs/fonts to populate the database. Change-Id: Id1e54c5b032095470049210bb831cfe4c79b3569 Reviewed-by: Johannes Zellner <johannes.zellner@nokia.com> Reviewed-by: Donald Carr <donald.carr@nokia.com> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com> Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
11 lines
255 B
Plaintext
11 lines
255 B
Plaintext
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
|
|
}
|
|
|