QMediaplayer streaming from a custom QIODevice with encryption on Mac OS (10.9)

后端 未结 2 1667
北荒
北荒 2021-01-15 03:04

i\'m currently porting an application from Qt4(.8.4) to Qt5(.2.0). I\'m nearly done with all the known changes like deprecated toAscii()-function, missing QtGui and so on. N

2条回答
  •  Happy的楠姐
    2021-01-15 04:06

    Anyway,try give empty QMediaContent() to setMedia instead of 0. It is working OK for me (but,I try it in linux) In your small test project,you use mp3 -- I'm not sure if it's supported.

提交回复
热议问题