aboutsummaryrefslogtreecommitdiff
path: root/depends/patches/qt/fix_no_printer.patch
blob: 13723561384d8b7e80fc9e3879559d195ce5f098 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--- x/qtbase/src/plugins/platforms/cocoa/qprintengine_mac_p.h
+++ y/qtbase/src/plugins/platforms/cocoa/qprintengine_mac_p.h
@@ -52,6 +52,7 @@
 //

 #include <QtCore/qglobal.h>
+#include <qpa/qplatformprintdevice.h>

 #ifndef QT_NO_PRINTER

--- x/qtbase/src/plugins/plugins.pro
+++ y/qtbase/src/plugins/plugins.pro
@@ -9,6 +9,3 @@ qtHaveModule(gui) {
     !android:qtConfig(library): SUBDIRS *= generic
 }
 qtHaveModule(widgets): SUBDIRS += styles
-
-!winrt:qtHaveModule(printsupport): \
-    SUBDIRS += printsupport