qt6中QMediaplaylist无法使用

输入qmediaplaylist头文件显示no such file,工程文件中mutimedia已加
在qt6官网中也没有找到这个头文件,是不是被删掉了?如果是这样的话用什么代替它的功能

解决了吗😭

Playback
The main class for handling playback of media files is QMediaPlayer. The QMediaPlayer API has been simplified from what we had in Qt 5. We have for now removed all playlist functionality from the module, something that was built into the Qt 5 media player but has complicated its API and implementation. We are planning to bring back playlist functionality after 6.2 as a separate stand-alone class that you can then connect to QMediaPlayer if required. For now and if needed, you can find some code to handle playlists in the “player” example.
Qt官方说的,移除了所有列表播放api,计划6.2后作为一个新的类的引入,如果你想用列表的功能 可以参考他们的播放器的示例,所以骚年,打开他们的播放器示例的源码来看吧😌

img

不用谢

是不是你安装的时候没有安装这个模块。

img