QPlatformWindow: Add missing includes
1. QObject For ifdef Q_OS_UNIX we inherit from QObject but it's not included anywhere, only implicitly defined! This was compiling before because the moc file was compiled together with _another_ moc file that _did_ include QObject. 2. QWindow For QT_DECLARE_NATIVE_INTERFACE we need to have QWindow included. Change-Id: I5fc0c2d52cb23ee0b2a884178e9115b19e77bf41 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io> Reviewed-by: Marc Mutz <marc.mutz@qt.io>bb10
parent
c2956f8f76
commit
fa0d60b1ff
|
|
@ -19,9 +19,11 @@
|
|||
#include <QtCore/qbasictimer.h>
|
||||
#include <QtCore/qrect.h>
|
||||
#include <QtCore/qnativeinterface.h>
|
||||
#include <QtGui/qwindow.h>
|
||||
|
||||
#if defined(Q_OS_UNIX)
|
||||
#include <any>
|
||||
#include <QtCore/qobject.h>
|
||||
|
||||
struct wl_surface;
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Reference in New Issue