Details
-
Bug
-
Resolution: Done
-
P4: Low
-
5.9.1
-
None
-
macOS 10.12
-
-
b1db1dd655788fb685949959c99c901515bfd8ab (qt/qtbase/5.12)
Description
If we try to build qtbase with disabled qprinter support (-no-feature-printer) it fails on macOS.
Looks like a sibling of QTBUG-27177.
We used this as a work-around to disable it.
--- 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:!wince:qtHaveModule(printsupport): \ - SUBDIRS += printsupport
Attachments
Issue Links
- relates to
-
QTBUG-76941 -no-feature-printer doesn't build on Windows.
- Closed
For Gerrit Dashboard: QTBUG-62675 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
268400,5 | Fix build with -no-feature-printer on macOS | 5.12 | qt/qtbase | Status: MERGED | +2 | 0 |