From 041296a88cdf1c57aab10b45cf675b34a2feb8fb Mon Sep 17 00:00:00 2001 From: Friedemann Kleint Date: Fri, 15 Mar 2019 13:25:46 +0100 Subject: [PATCH] Fix qdoc errors in QIcon header Add missing forward declaration, fixing: src/gui/image/qicon.h:93:16: error: unknown type name 'QPainter' This apparently only happens for qdoc. Change-Id: I39e78258f16628d477b629778241c4f5031820c4 Reviewed-by: Paul Wicking --- src/gui/image/qicon.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gui/image/qicon.h b/src/gui/image/qicon.h index 6a4fc8927a..8870950982 100644 --- a/src/gui/image/qicon.h +++ b/src/gui/image/qicon.h @@ -50,6 +50,7 @@ QT_BEGIN_NAMESPACE class QIconPrivate; class QIconEngine; +class QPainter; class Q_GUI_EXPORT QIcon {