Fix build for Android on macOS

The FreeType engine has moved out of the fontdatabases library,
so the .a file would be empty. This caused the error
"attempt to map 60 bytes at offset 72 exceeds size of file" when
building for Android on macOS.

Change-Id: I9d9afca67e7626d3b5c6a62fcde33fed029fe04c
Reviewed-by: Liang Qi <liang.qi@qt.io>
This commit is contained in:
Eskil Abrahamsen Blomfeldt 2020-06-02 09:05:16 +02:00 committed by Assam Boudjelthia
parent 7ede57f937
commit 4dfaa1d60a
3 changed files with 1 additions and 3 deletions

View File

@ -48,7 +48,6 @@ qt_internal_add_plugin(QAndroidIntegrationPlugin
Qt::CorePrivate
Qt::EglSupportPrivate
Qt::EventDispatcherSupportPrivate
Qt::FontDatabaseSupportPrivate
Qt::Gui
Qt::GuiPrivate
android

View File

@ -48,7 +48,6 @@ qt_internal_add_plugin(QAndroidIntegrationPlugin
Qt::CorePrivate
Qt::EglSupportPrivate
Qt::EventDispatcherSupportPrivate
Qt::FontDatabaseSupportPrivate
Qt::Gui
Qt::GuiPrivate
android

View File

@ -5,7 +5,7 @@ LIBS += -ljnigraphics -landroid
QT += \
core-private gui-private \
eventdispatcher_support-private \
fontdatabase_support-private egl_support-private
egl_support-private
qtConfig(opengl): QT += opengl-private