summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJing Bai <jing.bai@digia.com>2012-12-12 16:42:45 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2012-12-14 13:06:53 +0100
commit88047bee4c8731be6adb8cb3be0e18280c9ebea2 (patch)
treec5345aefbe5298d083dfa6a355d09286f4717b5f /src
parente2ad422e88373ac8e03f716d7f30800e2381aa16 (diff)
add missing include when Q_NO_USING_KEYWORD is defined
Task-number: QTBUG-28446 Change-Id: I348de023035a15f3c769610abdaf0ebd7273ca34 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src')
-rw-r--r--src/widgets/kernel/qapplication.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/widgets/kernel/qapplication.h b/src/widgets/kernel/qapplication.h
index 8a7cb24539..5800ca48b0 100644
--- a/src/widgets/kernel/qapplication.h
+++ b/src/widgets/kernel/qapplication.h
@@ -50,6 +50,9 @@
#ifdef QT_INCLUDE_COMPAT
# include <QtWidgets/qdesktopwidget.h>
#endif
+#ifdef Q_NO_USING_KEYWORD
+#include <QtGui/qpalette.h>
+#endif
#include <QtGui/qguiapplication.h>
QT_BEGIN_HEADER