b2e9c680e3
LIBS_PRIVATE is more correct (these shouldn't be part of the public API), and additionally, using LIBS_PRIVATE also ensures these libraries come last on the link command, which fixes builds using -Wl,--as-needed. Change-Id: I9f2e4e78855a30a53ce9013623597b840a2832bd Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
11 lines
272 B
Plaintext
11 lines
272 B
Plaintext
CONFIG += qpa/basicunixfontdatabase
|
|
contains(QT_CONFIG, fontconfig) {
|
|
DEFINES += Q_FONTCONFIGDATABASE
|
|
LIBS_PRIVATE += -lfontconfig
|
|
} else:!android {
|
|
fonts.path = $$[QT_INSTALL_LIBS]/fonts
|
|
fonts.files = $$QT_SOURCE_TREE/lib/fonts/*
|
|
INSTALLS += fonts
|
|
}
|
|
|