From 3c0a26b79f4ab8a20ac385c1f885ee18156a6555 Mon Sep 17 00:00:00 2001 From: Olivier Goffart Date: Fri, 28 Oct 2011 09:14:01 +0200 Subject: [PATCH] Add missing include when enabling deprecated code MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit QStringList is used by the inline code. (I did not see that before because I was using precompiled headers) Change-Id: Ieea4f13c143495f841b5246d835b584cc7404ac6 Reviewed-by: Samuel Rødal --- src/gui/image/qimage.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/gui/image/qimage.h b/src/gui/image/qimage.h index 6f070bc..a18d810 100644 --- a/src/gui/image/qimage.h +++ b/src/gui/image/qimage.h @@ -49,6 +49,10 @@ #include #include +#if QT_DEPRECATED_SINCE(5, 0) +#include +#endif + QT_BEGIN_HEADER QT_BEGIN_NAMESPACE -- 2.7.4