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.4 compiled app asserts "QtMultimedia is not currently supported on this platform or compiler." and crashes; Qt6.3.2 runs fine
QtWS25 Last Chance

Qt6.4 compiled app asserts "QtMultimedia is not currently supported on this platform or compiler." and crashes; Qt6.3.2 runs fine

Scheduled Pinned Locked Moved Unsolved General and Desktop
6 Posts 4 Posters 2.2k Views
  • 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.
  • P Offline
    P Offline
    paulpv
    wrote on 29 Sept 2022, 19:36 last edited by paulpv
    #1

    I have a Qt6 project that I have been working on for about a month:
    https://github.com/NightVsKnight/QtNdiMonitorCapture

    This project uses Qt 6.3.2 and both compiles and runs on my local development machine and compiles in the repo's GitHub Actions.
    On a 2nd machine (physically identical twin to first, both are also running identical Windows 10 Pro 21H1 19043.2006) I download the GitHub Action artifact and it also runs.

    This morning I downloaded and updated to Qt6.4 on both machines and flipped my projects to use Desktop Qt 6.4 MSVC2019 64bit kits.

    On Machine1 my project builds and runs fine.

    On Machine2 my project builds fine, but when I run I get an assert pop up that says QtMultimedia is not currently supported on this platform or compiler. line 22:
    daa45706-99c1-4420-a599-e52e5f6dc21f-image.png
    If I ignore the app will crash.
    If I flip Machine2 back to Qt 6.3.2 the app runs fine and there is no assert.

    The assert is from this line:
    https://github.com/qt/qtmultimedia/blob/6.4/src/multimedia/platform/qplatformmediaintegration.cpp#L22

    Since Qt 6.4.0 was released today, I think this might be an unexpected bug in the code, but perhaps I am just doing something wrong.
    I searched https://bugreports.qt.io and see several MINGW related bugs, but none for MSVC2019.

    The two PCs do have slightly different app installs, biggest of which may be Machine1 has VS2022, but they are quite similar and literally hardware identical and nearly software identical overall.

    Pv

    1 Reply Last reply
    0
    • J Offline
      J Offline
      JoeCFD
      wrote on 29 Sept 2022, 20:17 last edited by JoeCFD
      #2

      https://www.qt.io/blog/qt-6.4-released

      Qt Multimedia

      We have added an FFMPEG-based multimedia backend, which provides consistent audio and video functionality on all platforms. For video playback we have improved the color space handling and HDR support, and applications can inject subtitles to QVideoFrames.

      ============================================
      If a new backend is introduced, more tests may be needed. Maybe do not upgrade too fast.

      P 1 Reply Last reply 29 Sept 2022, 20:56
      0
      • J JoeCFD
        29 Sept 2022, 20:17

        https://www.qt.io/blog/qt-6.4-released

        Qt Multimedia

        We have added an FFMPEG-based multimedia backend, which provides consistent audio and video functionality on all platforms. For video playback we have improved the color space handling and HDR support, and applications can inject subtitles to QVideoFrames.

        ============================================
        If a new backend is introduced, more tests may be needed. Maybe do not upgrade too fast.

        P Offline
        P Offline
        paulpv
        wrote on 29 Sept 2022, 20:56 last edited by paulpv
        #3

        @JoeCFD said in Qt6.4 compiled app asserts "QtMultimedia is not currently supported on this platform or compiler." and crashes; Qt6.3.2 runs fine:

        If a new backend is introduced, more tests may be needed. Maybe do not upgrade too fast.

        Understood; this is a result of my testing. I presume Qt would have also at least smoke tested this.

        1 Reply Last reply
        0
        • A Offline
          A Offline
          aclight
          wrote on 29 Sept 2022, 21:32 last edited by
          #4

          FYI this is likely https://bugreports.qt.io/browse/QTBUG-105984

          P 1 Reply Last reply 30 Sept 2022, 00:21
          1
          • A aclight
            29 Sept 2022, 21:32

            FYI this is likely https://bugreports.qt.io/browse/QTBUG-105984

            P Offline
            P Offline
            paulpv
            wrote on 30 Sept 2022, 00:21 last edited by paulpv
            #5

            @aclight

            Yes, that seems like it!

            Confirmed that if I copy

            C:\Qt\6.4.0\msvc2019_64\plugins\multimedia\*.*

            to a

            build...\{config}\plugins\multimedia\

            folder, then my app can then run.

            1 Reply Last reply
            4
            • Y Offline
              Y Offline
              yourkg
              wrote on 5 Oct 2022, 00:54 last edited by
              #6

              This problem also appear in deployed using windeployqt , copy \plugins\ to your pack directory, then okk...

              1 Reply Last reply
              0

              2/6

              29 Sept 2022, 20:17

              topic:navigator.unread, 4
              • Login

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