Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Instantiation of function QAndroidJniObject::callMethod<void> required here, but no definition is available



  • Hi,

    I see a lot warnings like this when calling Java functions from C++. For example calling a function like this:

    QtAndroid::androidService().callMethod<void>("myFunction");
    

    On this line I see the warning Instantiation of function QAndroidJniObject::callMethod<void> required here, but no definition is available

    What does it mean? I think the code is exactly like in the examples in Qt documentation.


Log in to reply