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

qhighdpiscaling_p.h using deprecated APIs

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Not Evaluated
    • None
    • 5.15.0 Beta2
    • GUI: High-DPI
    • None
    • All

    Description

      qhighdpiscaling_p.h is only a private header, but in case you want to fix it:

      the implementation of QHighDpiScaling::fromNativeLocalRegion is using QRegion::rects, what is a deprecated method. When compiling code, that includes qhighdpiscaling_p.h with having deprecations as warnings you run into warnings.

      Looks like the code has not yet been updated to make use of the more efficient QRegion::const_iterator implementation.

      Attachments

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

        Activity

          People

            sorvig Morten Sørvig
            uwe Uwe Rathmann
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes