summaryrefslogtreecommitdiffstats
path: root/src/widgets/kernel/qwidgetwindow_p.h
diff options
context:
space:
mode:
authorKimmo Ollila <kimmo.ollila@qt.io>2016-12-18 09:03:59 +0200
committerKimmo Ollila <kimmo.ollila@theqtcompany.com>2017-01-02 10:15:03 +0000
commit92f6a4588f6bfc78e9b8b536ec7895d048c3aa30 (patch)
tree5d769d2b2faca5023781c6a219fcd747ec0df510 /src/widgets/kernel/qwidgetwindow_p.h
parentc7f0e3ebc2253e6b549ce2271cfdb002c110ee24 (diff)
Add needed includes to qdesktopwidget_p.h and qwidgetwindow_p.h
The template definitions are required here as we are using an object of type QPointer below when doing static cast of QPointer::data() Change-Id: I41e2b6f59667574ca3c5d75c5dddb203790adbce Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'src/widgets/kernel/qwidgetwindow_p.h')
-rw-r--r--src/widgets/kernel/qwidgetwindow_p.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/widgets/kernel/qwidgetwindow_p.h b/src/widgets/kernel/qwidgetwindow_p.h
index edf2383596..a81355160e 100644
--- a/src/widgets/kernel/qwidgetwindow_p.h
+++ b/src/widgets/kernel/qwidgetwindow_p.h
@@ -56,6 +56,7 @@
#include <QtCore/private/qobject_p.h>
#include <QtGui/private/qevent_p.h>
+#include <QtWidgets/qwidget.h>
QT_BEGIN_NAMESPACE