diff options
author | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2020-03-31 19:23:18 +0200 |
---|---|---|
committer | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2020-06-04 10:39:53 +0200 |
commit | 1cee9cc5870b475b141dfa6ad84de2038a28d5b8 (patch) | |
tree | 999dfe9b3cb2743271d5475a808cd1c59fd095c1 /src/plugins/platforms/cocoa/qcocoafontdialoghelper.h | |
parent | 9dd8e655cdd26eeaae30645b7fe013d9a696547f (diff) |
macOS: Remove QtWidget dependency from platform plugin
The dialog helpers don't depend on widgets themselves, and should be
built regardless of whether the widget dialogs are enabled, as these
helpers can (and should) be used by other layers, such as Qt Quick.
Change-Id: I1c66b474ab2f29748f1256aea90229c51c12a16f
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Diffstat (limited to 'src/plugins/platforms/cocoa/qcocoafontdialoghelper.h')
-rw-r--r-- | src/plugins/platforms/cocoa/qcocoafontdialoghelper.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/plugins/platforms/cocoa/qcocoafontdialoghelper.h b/src/plugins/platforms/cocoa/qcocoafontdialoghelper.h index 14f12f2d76..81ba3d6c41 100644 --- a/src/plugins/platforms/cocoa/qcocoafontdialoghelper.h +++ b/src/plugins/platforms/cocoa/qcocoafontdialoghelper.h @@ -41,11 +41,8 @@ #define QCOCOAFONTDIALOGHELPER_H #include <QObject> -#include <QtWidgets/qtwidgetsglobal.h> #include <qpa/qplatformdialoghelper.h> -QT_REQUIRE_CONFIG(fontdialog); - QT_BEGIN_NAMESPACE class QCocoaFontDialogHelper : public QPlatformFontDialogHelper |