[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
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.