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>
This commit is contained in:
Kimmo Ollila 2016-12-18 09:03:59 +02:00 committed by Kimmo Ollila
parent c7f0e3ebc2
commit 92f6a4588f
2 changed files with 2 additions and 0 deletions

View File

@ -56,6 +56,7 @@
#include "private/qwidget_p.h"
#include <QtCore/qalgorithms.h>
#include <QtGui/qscreen.h>
QT_BEGIN_NAMESPACE

View File

@ -56,6 +56,7 @@
#include <QtCore/private/qobject_p.h>
#include <QtGui/private/qevent_p.h>
#include <QtWidgets/qwidget.h>
QT_BEGIN_NAMESPACE