Fix linking of the minimal platform plugin on OS X
platformsupport/fontdatabases/fontdatabases.pri disables all font databases except CoreText on OS X, so this is required for linking. Otherwise, we get undefined reference linker errors: Undefined symbols for architecture x86_64: "vtable for QBasicFontDatabase", referenced from: QMinimalIntegration::fontDatabase() const in qminimalintegration.o Change-Id: I31298e973803b4d6eedbf61607056114d1556584 Reviewed-by: Jake Petroules <jake.petroules@qt.io>
This commit is contained in:
parent
261f9101dd
commit
16864c42d6
@ -11,6 +11,7 @@ HEADERS = qminimalintegration.h \
|
|||||||
OTHER_FILES += minimal.json
|
OTHER_FILES += minimal.json
|
||||||
|
|
||||||
CONFIG += qpa/genericunixfontdatabase
|
CONFIG += qpa/genericunixfontdatabase
|
||||||
|
darwin: DEFINES += QT_NO_FONTCONFIG
|
||||||
|
|
||||||
PLUGIN_TYPE = platforms
|
PLUGIN_TYPE = platforms
|
||||||
PLUGIN_CLASS_NAME = QMinimalIntegrationPlugin
|
PLUGIN_CLASS_NAME = QMinimalIntegrationPlugin
|
||||||
|
Loading…
x
Reference in New Issue
Block a user