JNI: match the declaration from jni.h
Happens when we switch to protected visibility. qjnihelpers.cpp:398:1: error: visibility does not match previous declaration jni.h:1112:1: note: previous attribute is here Change-Id: I3859764fed084846bcb0fffd17036098322e6b8d Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
This commit is contained in:
parent
4802eec2ff
commit
2fca51e00f
@ -395,7 +395,7 @@ void QtAndroidPrivate::releaseAndroidDeadlockProtector()
|
|||||||
|
|
||||||
QT_END_NAMESPACE
|
QT_END_NAMESPACE
|
||||||
|
|
||||||
Q_CORE_EXPORT jint JNICALL JNI_OnLoad(JavaVM *vm, void *reserved)
|
JNIEXPORT jint JNICALL JNI_OnLoad(JavaVM *vm, void *reserved)
|
||||||
{
|
{
|
||||||
Q_UNUSED(reserved);
|
Q_UNUSED(reserved);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user