Important: Please read the Qt Code of Conduct -

macos - 5.14 - RHI and Video/Multimedia

  • 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: {

  • Hi, RHI shaders are not supported in qtmm yet.

Log in to reply