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

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

XMLWordPrintable

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

      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;
      }

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes