From c439afa1ce87170e4b1aa94295aff955252be1a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tor=20Arne=20Vestb=C3=B8?= Date: Thu, 14 Aug 2025 17:38:12 +0200 Subject: [PATCH] Include qcoregraphics_p.h instead of forward-declaring Pick-to: 6.10 Change-Id: Ic86181b608334d7e7b5c9fb58a6ef653b90b1c40 Reviewed-by: Eirik Aavitsland --- src/plugins/imageformats/shared/qiiofhelpers.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/plugins/imageformats/shared/qiiofhelpers.cpp b/src/plugins/imageformats/shared/qiiofhelpers.cpp index fd44d5ca..312f64e8 100644 --- a/src/plugins/imageformats/shared/qiiofhelpers.cpp +++ b/src/plugins/imageformats/shared/qiiofhelpers.cpp @@ -7,15 +7,13 @@ #include #include +#include + #include "qiiofhelpers_p.h" QT_BEGIN_NAMESPACE -// QImage <-> CGImage conversion functions from QtGui on darwin -CGImageRef qt_mac_toCGImage(const QImage &qImage); -QImage qt_mac_toQImage(CGImageRef image); - namespace NS_IIOF_HELPERS { // Callbacks for sequential data provider & consumer: