From 478d964cac7654d36ccfe5882dd09075bb85442d Mon Sep 17 00:00:00 2001 From: Alex Blasche Date: Tue, 8 Jan 2019 11:02:59 +0100 Subject: Fix class vs struct mismatch In file included from qtbase/include/QtCore/5.12.0/QtCore/private/qjni_p.h:1: qtbase/include/QtCore/5.12.0/QtCore/private/../../../../../src/corelib/kernel/qjni_p.h:68:1: warning: 'QJNIEnvironmentPrivate' defined as a class here but previously declared as a struct [-Wmismatched-tags] class Q_CORE_EXPORT QJNIEnvironmentPrivate ^ jni/qandroidjnienvironment.h:50:1: note: did you mean class here? struct QJNIEnvironmentPrivate; ^~~~~~ class Change-Id: I0df1a4350c50ca920ad7f13978a62913a9702a15 Reviewed-by: Volker Krause Reviewed-by: Albert Astals Cid Reviewed-by: BogDan Vatra --- src/androidextras/jni/qandroidjnienvironment.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/androidextras/jni/qandroidjnienvironment.h b/src/androidextras/jni/qandroidjnienvironment.h index 4edf8f4..46d443d 100644 --- a/src/androidextras/jni/qandroidjnienvironment.h +++ b/src/androidextras/jni/qandroidjnienvironment.h @@ -47,7 +47,7 @@ QT_BEGIN_NAMESPACE -struct QJNIEnvironmentPrivate; +class QJNIEnvironmentPrivate; class Q_ANDROIDEXTRAS_EXPORT QAndroidJniEnvironment { -- cgit v1.2.3