Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. [Solved] What is the counterpart of Phonon::BackendCapabilities::availableMimeTypes() in Qt Multimedia

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

Scheduled Pinned Locked Moved General and Desktop
2 Posts 1 Posters 807 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H Offline
    H Offline
    hisoft
    wrote on last edited by
    #1

    Hi,

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

    Thanks

    1 Reply Last reply
    0
    • H Offline
      H Offline
      hisoft
      wrote on last edited by
      #2

      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.

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved