I'm using Qt 5.3.2's QMediaPlayer to play an MP3 file under OSX 10.10, until now I haven't been able to play anything.
The code I use is roughly this:
player = new QMediaPlayer;
player->setMedia(QUrl(soundName));
qDebug()<<soundName;
player->setVolume(50);
player->play();
When using this, I get this error in the "Application output" panel:
[19:32:52.144] FigByteFlumeCustomURLOpen signalled err=-12936 (kFigByteFlumeError_BadState) (no provider) at /SourceCache/CoreMedia/CoreMedia-1562.19/Prototypes/FigHTTP/FigByteFlumeCustomURL.c line 1486
The very same code works perfectly with Windows 8.
Can anyone help?
errorString()
will say something useful too. – Kosovan