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

QImage usage with un-dithered image causes memory leak.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • Not Evaluated
    • None
    • 4.6.1
    • GUI: Painting
    • QT on Embedded arm device

    Description

      QImage usage with un-dithered image causes memory leak.
      On the otherhand the same code with a dithered image does not cause leak.

      Please explain the difference.

      QPalette clPalette;
      QImage clImage("/home/test.png");
      clImage = clImage.copy(0,26,320,215);
      clPalette.setBrush(backgroundRole(), QBrush(clImage));
      setPalette(clPalette);

      Attachments

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

        Activity

          People

            rodal Samuel Rødal
            jake Jebina Elsie
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes