From d85ad71ed9c0a13a226756f9807a409a60a04df2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A5rten=20Nordheim?= Date: Tue, 26 Jan 2021 12:47:02 +0100 Subject: Don't forward-declare non-Qt things with QT_FORWARD_DECLARE_* MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit As it breaks in namespace builds Change-Id: I1a278330eeea6b2b89c8a57c0df828dff94ebf7a Reviewed-by: Tor Arne Vestbø (cherry picked from commit 6cd5448404048ffd7194a1f78991e50be3535e07) --- src/gui/kernel/qoffscreensurface_platform.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui') 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 #if defined(Q_OS_ANDROID) -QT_FORWARD_DECLARE_CLASS(ANativeWindow); +struct ANativeWindow; #endif QT_BEGIN_NAMESPACE -- cgit v1.2.3