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

Q_ASSERT added in qrasterizer.cpp

    XMLWordPrintable

Details

    • Windows
    • 004189b2d8e751021f26d9eb28948f753ea8208c (qt/qtbase/dev) a474d8a9be11f840c26d8a12586b9d11b6027015 (qt/qtbase/6.1) 8eeae7ae073ddd71a9210c0d3d1edaa6c199f509 (qt/qtbase/6.0) 74989b0914 (qt/qtbase/6.4) 74989b0914 (qt/tqtc-qtbase/6.4)

    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

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

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes