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

QImageReader can't load images that not supported by built-in handlers when setAutoImageDetect(false);

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P2: Important P2: Important
    • 4.6.3
    • 4.5.3, 4.6.1
    • Image formats
    • None
    • ArchLinux x86_64, Qt 4.5.3
      Windows XP gcc/mingw Qt 4.6.1
      Windows Vista x86 MSVC2008 Qt 4.6.1
    • 43a9c48554579d76e1f1267fbd70f488f22fd408

      QImageReader::setAutoDetectImageFormat documentation says:

      By disabling image format autodetection, QImageReader will only query the plugins and built-in handlers based on the format string (i.e., no file name extensions are tested).

      But QImageReader works only with built-in handlers. It don't work with standard and custom plugins.

      See attached example.

        1. qimagereadertest.pro
          0.3 kB
        2. main.cpp
          0.5 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            kjernase Trond Kjernåsen (Inactive)
            crackedmind Stanislav Ershov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes