From 1cee9cc5870b475b141dfa6ad84de2038a28d5b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tor=20Arne=20Vestb=C3=B8?= Date: Tue, 31 Mar 2020 19:23:18 +0200 Subject: macOS: Remove QtWidget dependency from platform plugin MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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ø --- src/plugins/platforms/cocoa/qcocoafontdialoghelper.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/plugins/platforms/cocoa/qcocoafontdialoghelper.h') 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 -#include #include -QT_REQUIRE_CONFIG(fontdialog); - QT_BEGIN_NAMESPACE class QCocoaFontDialogHelper : public QPlatformFontDialogHelper -- cgit v1.2.3