diff options
author | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2020-03-31 12:25:59 +0200 |
---|---|---|
committer | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2020-05-27 17:51:24 +0200 |
commit | ce2bc0e2d5b1d647db1e1726ecd434cc8a55accf (patch) | |
tree | 004e90f6cb9a79e76f82d248a3eb8951e6095161 /src/plugins/platforms/offscreen | |
parent | cbb9c53704dca4fdaba75e1e1fd354cff058876b (diff) |
Move CoreText font engine/database to QtGui
Task-number: QTBUG-83255
Change-Id: Id34ed1759fdebbb1d09e51009f0370736002167c
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'src/plugins/platforms/offscreen')
-rw-r--r-- | src/plugins/platforms/offscreen/offscreen.pro | 4 | ||||
-rw-r--r-- | src/plugins/platforms/offscreen/qoffscreenintegration.cpp | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/src/plugins/platforms/offscreen/offscreen.pro b/src/plugins/platforms/offscreen/offscreen.pro index f226132592..d44caf536c 100644 --- a/src/plugins/platforms/offscreen/offscreen.pro +++ b/src/plugins/platforms/offscreen/offscreen.pro @@ -2,7 +2,9 @@ TARGET = qoffscreen QT += \ core-private gui-private \ - eventdispatcher_support-private fontdatabase_support-private + eventdispatcher_support-private + +!darwin: QT += fontdatabase_support-private DEFINES += QT_NO_FOREACH diff --git a/src/plugins/platforms/offscreen/qoffscreenintegration.cpp b/src/plugins/platforms/offscreen/qoffscreenintegration.cpp index 4a27bc511d..1d9a6ee2f7 100644 --- a/src/plugins/platforms/offscreen/qoffscreenintegration.cpp +++ b/src/plugins/platforms/offscreen/qoffscreenintegration.cpp @@ -45,7 +45,7 @@ #include <QtEventDispatcherSupport/private/qgenericunixeventdispatcher_p.h> #if defined(Q_OS_MAC) #include <qpa/qplatformfontdatabase.h> -#include <QtFontDatabaseSupport/private/qcoretextfontdatabase_p.h> +#include <QtGui/private/qcoretextfontdatabase_p.h> #else #include <QtFontDatabaseSupport/private/qgenericunixfontdatabase_p.h> #endif |