Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt
  • Unsolved
Collapse
qtws26_logo

The Qt Event of the Year: Qt World Summit 2026

Save Your Spot >
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. macos - 5.14 - RHI and Video/Multimedia
Qt 6.12 LTS is out! See what's new in the release blog

macos - 5.14 - RHI and Video/Multimedia

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
2 Posts 2 Posters 597 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.
  • G Offline
    G Offline
    gmoon
    wrote on last edited by
    #1

    I'm looking to move to 5.14 for Catalina support - but a couple of things are getting in the way right away.
    The most notable is that QtMultimedia video playback does not work out of the box, and I'm not sure how to get it working.

    Simplest possible example below - works fine under 5.14, except when used with :
    qputenv("QSG_RHI", "1");

    to enable Metal compatibility I receive:
    "The material failed to provide a working QShader pack"

    Any ideas? Something to do with compiling appropriate qsb files? Thanks for your help!

    import QtQuick 2.14
    import QtQuick.Window 2.14
    import QtMultimedia 5.14
    
    Window {
        visible: true
        width: 640
        height: 480
    
        Video {
            id: video
            width : 800
            height : 600
            source: "vid1.mp4"
    
            MouseArea {
                anchors.fill: parent
                onClicked: {
                    video.play()
                }
            }
        }
    }
    
    1 Reply Last reply
    0
    • V Offline
      V Offline
      VaL Doroshchuk
      wrote on last edited by
      #2

      Hi, RHI shaders are not supported in qtmm yet.

      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
      • Unsolved