diff options
author | Ken Lee <ken2812221@gmail.com> | 2018-05-19 16:24:37 +0200 |
---|---|---|
committer | TheCharlatan <seb.kung@gmail.com> | 2018-07-05 17:12:52 +0200 |
commit | 70afa65b175080b617e168be5396fbc180ae8bc5 (patch) | |
tree | b18f71e9d891a4da312ce42fe5cbf97d162d5086 /depends/patches/qt/fix_no_printer.patch | |
parent | 28482efefb15dc2c273a52b96d1aceb995db4968 (diff) | |
download | bitcoin-70afa65b175080b617e168be5396fbc180ae8bc5.tar.xz |
Fix depends Qt5.9.4 mac build
Apply patch from QTBUG-67286
Diffstat (limited to 'depends/patches/qt/fix_no_printer.patch')
-rw-r--r-- | depends/patches/qt/fix_no_printer.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/depends/patches/qt/fix_no_printer.patch b/depends/patches/qt/fix_no_printer.patch new file mode 100644 index 0000000000..f868ca2577 --- /dev/null +++ b/depends/patches/qt/fix_no_printer.patch @@ -0,0 +1,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 +@@ -8,6 +8,3 @@ qtHaveModule(gui) { + qtConfig(imageformatplugin): SUBDIRS *= imageformats + !android:qtConfig(library): SUBDIRS *= generic + } +- +-!winrt:qtHaveModule(printsupport): \ +- SUBDIRS += printsupport |