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

Q_ASSERT added in qrasterizer.cpp

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Done
    • Affects Version/s: 6.0.1
    • Fix Version/s: 6.0.4, 6.1.1, 6.2.0 Alpha
    • Component/s: GUI: Painting
    • Labels:
      None
    • Platform/s:
      Windows
    • Commits:
      004189b2d8e751021f26d9eb28948f753ea8208c (qt/qtbase/dev) a474d8a9be11f840c26d8a12586b9d11b6027015 (qt/qtbase/6.1) 8eeae7ae073ddd71a9210c0d3d1edaa6c199f509 (qt/qtbase/6.0)

      Description

      A Q_ASSERT has been added in qt6 at qtbase\src\gui\painting\qrasterizer.cpp, line 101

      Q_ASSERT(coverage >= 0 && coverage <= 255);

      This assert is not in qt5.15.2.  So it is new and it is having deadly consequences for my app.  

      Surely a warning would suffice not an assert.  I have no idea what coverage is, but assume something is out of range.   However this did not seem to be a problem in qt5.15.2

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              allan.jensen Allan Sandfeld Jensen
              Reporter:
              chortlemortal David Casper
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes