|
2011-10-03
, 20:02
|
|
Posts: 1,637 |
Thanked: 4,424 times |
Joined on Apr 2009
@ Germany
|
#2
|
if (!player->isAvailable()) {
QMessageBox::warning(this, tr("Service not available"),
tr("The QMediaPlayer object does not have a valid service.\n"\
"Please check the media service plugins are installed."));
controls->setEnabled(false);
playlistView->setEnabled(false);
openButton->setEnabled(false);
#ifndef PLAYER_NO_COLOROPTIONS
colorButton->setEnabled(false);
#endif
fullScreenButton->setEnabled(false);
}
The Following User Says Thank You to nicolai For This Useful Post: | ||
|
2011-10-03
, 23:00
|
Posts: 3 |
Thanked: 1 time |
Joined on Oct 2011
|
#3
|
|
2011-10-04
, 11:23
|
|
Posts: 1,637 |
Thanked: 4,424 times |
Joined on Apr 2009
@ Germany
|
#4
|
Stumbled over the QtMobility Media Player Example.
(http://doc.qt.nokia.com/qtmobility-1.2/player.html)
Everything compiles fine, but on the device it throws:
The QMediaPlayer object does not have a valid service
Please check the media service plugins are installed
Am i missing sth?
using:
n900 kp48
libqtm-1.0.2 & libqtm-1.2.0 installed
latest Qt SDK/Creator