summaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
authorMårten Nordheim <marten.nordheim@qt.io>2021-01-26 12:47:02 +0100
committerMårten Nordheim <marten.nordheim@qt.io>2021-01-27 19:55:40 +0000
commitd85ad71ed9c0a13a226756f9807a409a60a04df2 (patch)
tree7176dbaa5e635e6fdc1ad26c505ac738da572013 /src/gui
parentfada6a1cbd978ee81d76e937775e52a064a98362 (diff)
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)
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/kernel/qoffscreensurface_platform.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/kernel/qoffscreensurface_platform.h b/src/gui/kernel/qoffscreensurface_platform.h
index f95b606dba..addba347b9 100644
--- a/src/gui/kernel/qoffscreensurface_platform.h
+++ b/src/gui/kernel/qoffscreensurface_platform.h
@@ -44,7 +44,7 @@
#include <QtGui/qoffscreensurface.h>
#if defined(Q_OS_ANDROID)
-QT_FORWARD_DECLARE_CLASS(ANativeWindow);
+struct ANativeWindow;
#endif
QT_BEGIN_NAMESPACE