summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorOlivier Goffart <ogoffart@kde.org>2011-10-28 09:14:01 +0200
committerQt by Nokia <qt-info@nokia.com>2011-10-31 11:36:42 +0100
commit3c0a26b79f4ab8a20ac385c1f885ee18156a6555 (patch)
treed088642b635a4abeef5ea7b7df03975c5d862fa4 /src
parent9d43b8d9702a1b2cf9482485ac74eb18da2532a2 (diff)
Add missing include when enabling deprecated code
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 <samuel.rodal@nokia.com>
Diffstat (limited to 'src')
-rw-r--r--src/gui/image/qimage.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/image/qimage.h b/src/gui/image/qimage.h
index 6f070bc44d..a18d81068e 100644
--- a/src/gui/image/qimage.h
+++ b/src/gui/image/qimage.h
@@ -49,6 +49,10 @@
#include <QtCore/qrect.h>
#include <QtCore/qstring.h>
+#if QT_DEPRECATED_SINCE(5, 0)
+#include <QtCore/qstringlist.h>
+#endif
+
QT_BEGIN_HEADER
QT_BEGIN_NAMESPACE