Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-38994

QQuickWidget with shader effects on Windows

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 5.3.1
    • 5.3.0 RC1
    • None
    • Windows 8, qt-opensource-windows-x86-msvc2013_64-5.3.0-RC.exe (07-May-2014)

    Description

      There are some problems when content of QQuickWidget has shader effects.

      Replace the QML file in the qquickwidget example with this one:

      import QtQuick 2.0
      import QtGraphicalEffects 1.0
      
      Rectangle {
          id: root
          Item {
              id: obj
              anchors.fill: parent
              Rectangle {
                  property int d: 100
                  id: square
                  width: d
                  height: d
                  anchors.centerIn: parent
                  color: "red"
                  NumberAnimation on rotation { from: 0; to: 360; duration: 2000; loops: Animation.Infinite; }
              }
              Text {
                  anchors.centerIn: parent
                  text: "Qt Quick running in a widget"
              }
              visible: false
          }
          Desaturate {
              source: obj
              anchors.fill: obj
              desaturation: 1
          }
      }
      

      A warning occurs during execution: "ShaderEffectSource: 'recursive' must be set to true when rendering recursively."
      The application crashes on exit.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            lagocs Laszlo Agocs
            t.artikov Timur Artikov
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes