Application for Android with Qt/C++

Liru7 lukas.riezler at
Tue Jun 30 00:54:50 PDT 2015

Hey guys...thx for your hints!

What I tried is this:

extern "C" void gst_android_init (JNIEnv * env, jobject context);
QAndroidJniEnvironment* qjniEnv = new QAndroidJniEnvironment();

QPlatformNativeInterface *interface =
QAndroidJniObject activity =

gst_init(&argc, &argv);

gst_android_init(qjniEnv->operator JNIEnv *(),
(jobject)interface->nativeResourceForIntegration("QtActivity") );

I don't know if this is the right way? The compiler tells me " error:
undefined reference to 'gst-android_init' " it seems that I do some
mistake while linking against Or ist there any
incorrect with this?

--> extern "C" void gst_android_init (JNIEnv * env, jobject context);


View this message in context:
Sent from the GStreamer-devel mailing list archive at

More information about the gstreamer-devel mailing list