void VistaMedia:: playMplayer()
{ QWidget *player;
player =new QWidget(0);
mp=new QProcess(0);
player ->setGeometry(0,0,500,400);
QString program = "mplayer";
QStringList argu;
argu<< "-fs" <<"-cache"<<"45231"<< "-slave" << "-wid"<<QString ::number(player->winId()) <<"-playlist"<<"playlist.txt";
mp->start(program,argu);
player->show();
}
Above code is for Windows platform, its showing error on compilation that: "call of overloaded 'number(HWND_*)' is ambiguous"
am i writing the arguments in wrong order or its a problem related to platform?