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

QImageReader: format() does not work if first called after size()

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 4.7.0
    • 4.3.3
    • Image formats
    • None
    • df55141aa260c8a10c06aa990b6f20d6fb4718f3

    Description

      The exemple reproduce the problem

      #include <QtGui>
      int main(int argc, char *argv[])
      {
      QCoreApplication app(argc, argv);

      QImageReader reader1("test.png");
      qDebug() << "format1 " << reader1.format(); //works

      QImageReader reader2("test.png");
      reader2.size();
      qDebug() << "format2 " << reader2.format(); //doesn't works

      return 0;
      }

      Attachments

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

        Activity

          People

            rodal Samuel Rødal
            goffart Olivier Goffart (closed Nokia identity) (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes