JavaVM* currVM = (JavaVM *)QApplication::platformNativeInterface()->nativeResourceForWidget("JavaVM", 0);
Seems that the qplatformnativeinterface header has changed in Qt 5.1, it doesn't contains nativeRessourceForWidget ..
Is there an other way than implementing a socket communication between Java and Qt to communicate from Qt to Java ?
#include "QtGui/5.1.0/QtGui/qpa/qplatformnativeinterface.h"
error: 'class QPlatformNativeInterface' has no member named 'nativeResourceForWidget'
Seems that the qplatformnativeinterface header has changed in Qt 5.1, it doesn't contains nativeRessourceForWidget ..Is there an other way than implementing a socket communication between Java and Qt to communicate from Qt to Java ?#include "QtGui/5.1.0/QtGui/qpa/qplatformnativeinterface.h"error: 'class QPlatformNativeInterface' has no member named 'nativeResourceForWidget'