summaryrefslogtreecommitdiffstats
path: root/src/printsupport
diff options
context:
space:
mode:
authorTor Arne Vestbø <tor.arne.vestbo@qt.io>2020-07-01 13:57:36 +0200
committerTor Arne Vestbø <tor.arne.vestbo@qt.io>2020-07-01 15:16:15 +0200
commitb2bd2708b6f0e4d7fffbafc1ffd05c10578277aa (patch)
tree39ba6ac1db4362bb2ad9fe3b180117d08bd7f4b0 /src/printsupport
parent63e2acec0018c9c51406301f5bac1005c4516165 (diff)
macOS: Remove PPD deprecation warning
We're not going to replace these any time soon, so remove the warning. Change-Id: If020d2d3cf752e9a11558a55df5d05e2d2b3c567 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'src/printsupport')
-rw-r--r--src/printsupport/platform/macos/qcocoaprintdevice.mm5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/printsupport/platform/macos/qcocoaprintdevice.mm b/src/printsupport/platform/macos/qcocoaprintdevice.mm
index 118adc0b96..fe7e1ee912 100644
--- a/src/printsupport/platform/macos/qcocoaprintdevice.mm
+++ b/src/printsupport/platform/macos/qcocoaprintdevice.mm
@@ -53,11 +53,8 @@ QT_BEGIN_NAMESPACE
#ifndef QT_NO_PRINTER
// The CUPS PPD APIs were deprecated in CUPS 1.6/macOS 10.8, but
-// as long as we're supporting RHEL 6, which still ships CUPS 1.4
-// we're not going to rewrite this, as we want to share the code
-// between macOS and Linux for the CUPS-bits. See discussion in
+// the replacement APIs are unfortunately not sufficient. See:
// https://bugreports.qt.io/browse/QTBUG-56545
-#pragma message "Disabling CUPS PPD deprecation warnings. This should be fixed once we drop support for RHEL6 (QTBUG-56545)"
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wdeprecated-declarations"