Don't forward-declare non-Qt things with QT_FORWARD_DECLARE_*

As it breaks in namespace builds

Change-Id: I1a278330eeea6b2b89c8a57c0df828dff94ebf7a
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
(cherry picked from commit 6cd5448404048ffd7194a1f78991e50be3535e07)
This commit is contained in:
Mårten Nordheim 2021-01-26 12:47:02 +01:00
parent fada6a1cbd
commit d85ad71ed9

View File

@ -44,7 +44,7 @@
#include <QtGui/qoffscreensurface.h>
#if defined(Q_OS_ANDROID)
QT_FORWARD_DECLARE_CLASS(ANativeWindow);
struct ANativeWindow;
#endif
QT_BEGIN_NAMESPACE