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

Changing one pixmap changes other

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 4.6.1
    • 4.6.0
    • GUI: Painting
    • None
    • Windows XP SP2 (+latest updates),
      MS VisualStudio 2008 with SP1,
      Qt 4.6.0 LGPL downloaded in binaries from qt.nokia.com/downloads
    • f708b248aec810a1dcad1f13e1c16390244c9834

    Description

      I'm creating several QPixmaps with the same image file.
      Then I change one pixmap via QPixmap::load, but other do change too.

      On Qt 4.4.0 - 4.5.3 the same code left other pixmaps unchanged.

      Sample source code is in attachment.
      See testq.cpp

      Attachments

        1. _qtbug.rar
          4 kB
        2. _qtbug.tar
          20 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            kjernase Trond Kjernåsen (Inactive)
            alshurik Algazin Alexander
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes