Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

[Solved] What is the counterpart of Phonon::BackendCapabilities::availableMimeTypes() in Qt Multimedia



  • Hi,

    I'm porting a Qt4 Phonon application to Qt5 Multimedia but i don't know how to get the available mimetypes.

    Thanks



  • OK. I've found a way to get them but maybe it's not the better way ...
    I invoked QMimeDataType::allMimeTypes() and then filtered the elements containing "video" and "audio" strings.

    I'll mark this post as solved but i'm opened for any other suggestion.


Log in to reply