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

QPixmap(someFileName) hangs in debug mode

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P1: Critical
    • 5.9.0
    • 5.8.0
    • Image formats
    • None
    • Windows 7 64bit, Qt 5.8.0 MSVC 32bit.

    Description

      When I try something like that:

       

      QString lFileName("./motor.jpg");
      QPixmap lPixmap(lFileName); 
      

      In debug mode it hangs for file (attached) motor.jpg. I don't know whether it is an issue that it was created on Mac or it is too old or maybe it is too big. But in my opinion this shouldn't cause hang! Thanks for God it works in release mode. How ever 99% time I am testing apps in debug mode...

       

      Attachments

        1. QPixmapBugMinimalExample.zip
          696 kB
          jacekmarcinj
        2. qpixmap exception.png
          168 kB
          jacekmarcinj

        Issue Links

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

          Activity

            People

              vgt Eirik Aavitsland
              jacekmarcinj jacekmarcinj
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes