Results 1 to 2 of 2

Thread: QImage and QImageReader refuse to load any valid JPEGs in release build

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Apr 2011
    Posts
    8
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows

    Default QImage and QImageReader refuse to load any valid JPEGs in release build

    Greetings.

    The problem is as described in a title: QImageReader.canRead() and QImage.load() return false when my test app (Windows platform) is linked with release QtCore and QtGui dlls, while it works fine in debug. BMP files are loaded OK in any configuration,
    I've tried 3 versions of QtCore and QtGui dlls: the ones from official installer (compiled with MSVC2008, x86), compiled with MSVC2010 x64, and compiled with ICC x64.
    I have also tried giving my app with the official 2008 x86 dlls to my friend, he reported the same problem. We both use Windows 7, if that even matters. Qt version is 4.7.3.

    Any ideas are appreciated. Thanks in advance.
    Last edited by Violet Giraffe; 23rd July 2011 at 17:37.

Similar Threads

  1. [Qt4] How to load Url image into QImage?
    By Gonzalez in forum Qt Programming
    Replies: 6
    Last Post: 13th October 2014, 10:10
  2. Replies: 0
    Last Post: 12th March 2010, 22:01
  3. [mac] QImage.load fails
    By snoopy67 in forum Qt Programming
    Replies: 4
    Last Post: 7th November 2007, 14:06
  4. Replies: 2
    Last Post: 7th November 2006, 12:49

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.