Hi - I've been trying the following approach to display a video on a Qt for Symbian application (Qt 4.6.3, Qt Mobility 1.0.2). I'm using the Nokia Qt SDK.
Basically, according to the documentation for QVideoWidget and QMediaPlayer, this is the way a video can be played:
player = new QMediaPlayer;
widget = new QVideoWidget(player);
However, I get the following build error:
no matching function call to 'QVideoWidget::QVideoWidget(QMediaPlayer *&)'
According to the documentation, the constructor of QVideoWidget can actually be constructed as above...
]QVideoWidget ( QMediaObject * object, QWidget * parent = 0 )
Has anyone seen this problem before?