Results 1 to 3 of 3

Thread: 4.7.1 imageformats/qjpeg[d]4.dll unloaded

  1. #1
    Join Date
    May 2007
    Posts
    131
    Thanks
    17
    Thanked 4 Times in 2 Posts

    Default 4.7.1 imageformats/qjpeg[d]4.dll unloaded

    When running my program, QImageWriter::supportedImageFormats() doesn't contain the jpg format. The VS debugger output tells me the following:

    'my.exe': Loaded 'D:\pathtoexe\imageformats\qjpegd4.dll', Cannot find or open the PDB file
    'my.exe': Unloaded 'D:\pathtoexe\imageformats\qjpegd4.dll'

    This tells me that the paths are ok. I verified that all the Qt DLLs I'm using (core, gui, xml, opengl) are version 4.7.1 (File properties in Windows Explorer). What else could be the problem? Why is the DLL unloaded?

    Edit: When setting QT_DEBUG_PLUGINS to 1, I get an error message mentioning a faulty side-by-side configuration (original message in German). I'm on Windows 7 btw.
    Last edited by bmn; 30th September 2011 at 15:01.

  2. #2
    Join Date
    Sep 2011
    Posts
    9
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Wiki edits
    2

    Default Re: 4.7.1 imageformats/qjpeg[d]4.dll unloaded

    Does the plugin fails to load:
    1 - on a computer where Qt is installed?
    2 - on a computer without Qt?

    Case 1:
    Check whether the required plugin exists on your Qt installation (search for libjpeg[d]4.dll inside %QTDIR%/plugins/imageformats)

    Case 2:
    Make sure you deploy the required dll (libjpeg[d]4.dll) inside an imageformats folder on the application root dir (in your case D:\pathtoexe\imageformats\). The dll to be shipped is the one inside the %QTDIR%/plugins/imageformats folder, not the one found inside the bin folder on some Qt installations.

  3. The following user says thank you to bah for this useful post:

    bmn (4th October 2011)

  4. #3
    Join Date
    May 2007
    Posts
    131
    Thanks
    17
    Thanked 4 Times in 2 Posts

    Default Re: 4.7.1 imageformats/qjpeg[d]4.dll unloaded

    The DLL from %QTDIR%/plugins/imageformats did the trick, thanks.

Similar Threads

  1. Segmentation Fault after plugin was unloaded
    By zzz9 in forum Qt Programming
    Replies: 6
    Last Post: 3rd October 2011, 16:41
  2. QTPLUGIN += qjpeg doesnt let me compile
    By locke in forum Qt Programming
    Replies: 5
    Last Post: 22nd February 2011, 20:04
  3. qtextbrowser and imageformats plugins
    By bred in forum Qt Quick
    Replies: 5
    Last Post: 21st December 2010, 17:54
  4. imageformats plugins
    By ht1 in forum Installation and Deployment
    Replies: 23
    Last Post: 10th January 2008, 19:18
  5. Replies: 2
    Last Post: 5th November 2007, 21:47

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.