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

Changing the image on a QLabel crashes

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • Not Evaluated
    • None
    • 4.6.2
    • (Inactive) OpenVG
    • None
    • Symbian^3 winscw

    Description

      I am using QLabel::setPixmap() to set a pixmap to a QLabel and calling it a second time to change the image. The application crashes on the first paintEvent() call after I call the setPixmap to replace the pixmap. I have tracked the crash down to the OpenVG engines code. I can see that the crash occurs somewhere onside the rpEndPolygon() call on vg_image_handler.c

      This is tested on Symbian emulator only. Also attached is the images and the small example code to demonstrate the problem.

      Attachments

        1. BigLabel.jpg
          26 kB
          Gorkem Ercan
        2. main.cpp
          2 kB
          Gorkem Ercan
        3. SmallLabel.jpg
          8 kB
          Gorkem Ercan
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            rweather Rhys Weatherley (closed Nokia identity) (Inactive)
            gercan Gorkem Ercan
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes