Results 1 to 7 of 7

Thread: JPEG plugin problem

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Sep 2011
    Posts
    37
    Thanks
    2
    Thanked 1 Time in 1 Post
    Qt products
    Qt3 Qt4
    Platforms
    MacOS X Windows

    Angry JPEG plugin problem

    The JPEG .dll dynamic plugin works fine on my Windows development machine, but I can't get it to work when my software is deployed to a clean Windows machine.

    I have tried searching the Qt documentation, this forum, stackoverflow.com, Google etc and fiddling with paths and qt.conf. No luck.

    I am deploying like this:


    myapp.exe
    Qt*4.dll
    \Microsoft.VC80.CRT
    --- Microsoft.VC80.CRT.manifest
    --- msvcp80.dll
    --- msvcr80.dll
    \imageformats
    --- qjpeg4.dll



    The .exe runs fine and can handle PNG and other formats, but QImage::load() just returns false every time for JPEG.

    I have looked at qjpeg4.dll in the MS Depends tool and it only requires the same DLLs as my .exe (QtCore4.dll, QtGui4.dll, msvcp80.dll, msvcr80.dll).

    I am using the standard Qt 4.8.0 Windows build downloaded from Nokia.

    The main problem is the complete lack of any feedback or error message. QImage::load() just returns false for JPEG. No other clue. It is very frustrating. Any ideas?
    Last edited by AndyBrice; 10th April 2012 at 14:54.

Similar Threads

  1. Replies: 4
    Last Post: 22nd May 2011, 17:26
  2. Replies: 11
    Last Post: 13th July 2009, 16:05
  3. Problem with displaying jpeg and gif images, in QT4
    By node_ex in forum Installation and Deployment
    Replies: 1
    Last Post: 23rd September 2008, 15:29
  4. Gif/Jpeg plugin
    By bunjee in forum Qt Programming
    Replies: 9
    Last Post: 13th February 2008, 14:06
  5. Strange Problem with JPEG Support on win XP
    By caligula in forum Installation and Deployment
    Replies: 3
    Last Post: 18th September 2006, 10:36

Tags for this Thread

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.