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

ColorOverlay frag shader fails to load

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P0: Blocker P0: Blocker
    • 5.10.1
    • 5.10.0 Beta 4, 5.10.0
    • None
    • a91ae64393b94717bb297de5c32b452d290ac048

      This issue only affects iOS. I have no problems with ColorOverlay on macOS or Android.

       

      When attempting to use the ColorOverlay Component, I'm presented with the following error in the Application Output:

      "ShaderEffect: Failed to read :/qt-project.org/imports/QtGraphicalEffects/shaders/coloroverlay.frag"

      The ColorOverlay is then ignored and the affected image remains in its original bitmap form. This appears to be a regression as compiling in Qt 5.8 works just fine.

      I've attached a tiny example project which can be run on any platform to demonstrate that it only breaks on iOS.

        1. ColorOverlayTest.zip
          16 kB
          Connor O'Leary
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            poikelin Joni Poikelin
            elim2g Connor O'Leary
            Votes:
            4 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes