Hi all,
I want to embed real player into my application on Linux. Here is the code I have written,
but It doesnt work, can some body explain how to do it.
#include <QX11EmbedWidget>
#include <QtGui>
#include <QApplication>
int main(int argc,char *argv[])
{
QApplication app(argc, argv);
if (app.argc() != 2) {
// Error - expected window id as argument
qDebug () << "Err cant get the realplayer";
return 1;
}
QX11EmbedWidget widget;
widget.embedInto((long)"realplayer");
widget.show();
return app.exec();
}
Thanks in advance,
Boss
Bookmarks