pPlayer:Player(QWidget *parent)
: QWidget(parent)
{
QGridLayout *grid = new QGridLayout(this);
grid->setSpacing(20);
Phonon::VideoPlayer *videoPlayer = new
Phonon::VideoPlayer(Phonon::VideoCategory, this);
grid->addWidget(videoPlayer, 1, 0, 3, 1);
videoPlayer->play(Phonon::MediaSource("/home/nandita/NL00340w.mov"));
setLayout(grid);
}
This is the code and when I run ti I get no errors but a blank window.Can someone please help me in this
Bookmarks