From b2bd2708b6f0e4d7fffbafc1ffd05c10578277aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tor=20Arne=20Vestb=C3=B8?= Date: Wed, 1 Jul 2020 13:57:36 +0200 Subject: 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 --- src/printsupport/platform/macos/qcocoaprintdevice.mm | 5 +---- 1 file changed, 1 insertion(+), 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" -- cgit v1.2.3