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

Qt 5.5 QtGraphicalEffects ColorOverlay doesn't work on Android

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • P3: Somewhat important
    • None
    • 5.5.0
    • Mac OSX 10.10, QtCreator 3.4.2, Build Android API 19, Android NDK r9d
    • Android

    Description

      When applying a ColorOverlay effect to a image, the source seems to be ignored because the result is a colored image area.

      Attached is a small example project. I was expecting the image non transparent area was filled yellow, but the result is a filled yellow quad.

      This problem doesn't seem to affect iOS or Desktop.

      import QtQuick 2.4
      import QtQuick.Window 2.2
      import QtGraphicalEffects 1.0

      Window {
      visible: true
      color: "black"

      Image

      { id: image source: "qrc:/image.png" }

      ColorOverlay

      { source:image anchors.fill: image color: "yellow" }

      }

      Attachments

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

        Activity

          People

            esabraha Eskil Abrahamsen Blomfeldt
            sinosoidal Nuno Santos
            Votes:
            3 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes