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. QT6.2 - QtMultimedia is not currently supported on this platform or compiler

QT6.2 - QtMultimedia is not currently supported on this platform or compiler

Scheduled Pinned Locked Moved Solved General and Desktop
3 Posts 3 Posters 1.1k 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
    Hughes Yang
    wrote on last edited by Hughes Yang
    #1

    Hi, I've installed QT6.2 with Qt Multimedia library.
    In pro file, added:

    QT += multimedia
    

    In Widget cpp file, added:

    #include <QMediaPlayer>
    

    And then, added below code inside Widget::Widget(QWidget *parent){ }

    QMediaPlayer* player = new QMediaPlayer;
    

    The project could be built. However, while executing it, it showed "QtMultimedia is not currently supported on this platform or compiler." on the the above code...
    Print Screen: https://imgur.com/a/mQmTrIM
    Did I do something wrong?

    [My Environments]
    QT: QT6.2.0 MinGW 64-bit
    QT sample: QT Widgets Application
    OS: Win10

    Any suggestion will be highly appreciated!

    Pl45m4P T 2 Replies Last reply
    0
    • H Hughes Yang

      Hi, I've installed QT6.2 with Qt Multimedia library.
      In pro file, added:

      QT += multimedia
      

      In Widget cpp file, added:

      #include <QMediaPlayer>
      

      And then, added below code inside Widget::Widget(QWidget *parent){ }

      QMediaPlayer* player = new QMediaPlayer;
      

      The project could be built. However, while executing it, it showed "QtMultimedia is not currently supported on this platform or compiler." on the the above code...
      Print Screen: https://imgur.com/a/mQmTrIM
      Did I do something wrong?

      [My Environments]
      QT: QT6.2.0 MinGW 64-bit
      QT sample: QT Widgets Application
      OS: Win10

      Any suggestion will be highly appreciated!

      Pl45m4P Offline
      Pl45m4P Offline
      Pl45m4
      wrote on last edited by
      #2

      @Hughes-Yang

      Try another compiler, since MinGW + Qt6 + QtMultimedia seems to be buggy atm.

      https://github.com/msys2/MINGW-packages/issues/9736


      If debugging is the process of removing software bugs, then programming must be the process of putting them in.

      ~E. W. Dijkstra

      1 Reply Last reply
      2
      • H Hughes Yang

        Hi, I've installed QT6.2 with Qt Multimedia library.
        In pro file, added:

        QT += multimedia
        

        In Widget cpp file, added:

        #include <QMediaPlayer>
        

        And then, added below code inside Widget::Widget(QWidget *parent){ }

        QMediaPlayer* player = new QMediaPlayer;
        

        The project could be built. However, while executing it, it showed "QtMultimedia is not currently supported on this platform or compiler." on the the above code...
        Print Screen: https://imgur.com/a/mQmTrIM
        Did I do something wrong?

        [My Environments]
        QT: QT6.2.0 MinGW 64-bit
        QT sample: QT Widgets Application
        OS: Win10

        Any suggestion will be highly appreciated!

        T Offline
        T Offline
        Triss Mergold
        wrote on last edited by
        #3

        @Hughes-Yang A simple solution is to try using a higher version of Qt and MinGW 64-bit

        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