|
|
10-03-2011
, 04:02 PM
|
|
|
Posts: 1,621 |
Thanked: 4,296 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: | ||
|
|
10-03-2011
, 07:00 PM
|
|
Posts: 3 |
Thanked: 1 time |
Joined on Oct 2011
|
#3
|
|
|
10-04-2011
, 07:23 AM
|
|
|
Posts: 1,621 |
Thanked: 4,296 times |
Joined on Apr 2009
@ Germany
|
#4
|
![]() |
| Thread Tools | Search this Thread |
|
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