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

QImageReader does not support jpg when first called without an active QCoreApplication

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • P2: Important
    • None
    • 6.5.3
    • Image formats
    • None
    • Windows

    Description

      It seems that when the first call to QImageReader is done without an active QCoreApplication it seems to not get the feature to import jpg-formats.

       

      It is not even needed to import an image, I could resolve my issue by just adding this to my code:

      {
        QCoreApplication app;
        QImageReader;
      }
      

      Once initialized like this the QCoreApplication does not seem to be required anymore.
      Also I could reproduce this just with a release-build, it worked with a debug-build.

      Attachments

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

        Activity

          People

            vgt Eirik Aavitsland
            fgr Fabian Grob
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes