Results 1 to 4 of 4

Thread: Strange Problem with JPEG Support on win XP

  1. #1
    Join Date
    Sep 2006
    Posts
    3
    Qt products
    Qt4
    Platforms
    MacOS X Windows

    Default Strange Problem with JPEG Support on win XP

    hi there,

    i have a strange problem with QT jpeg support on windows xp.

    Compiling: MS Visual Studio 2005 Prof.
    QT: 4.1.4 Commercial Edition
    InstallerUtility: Nullsoft Installer Tool

    When i tell Nullsoft Installer to Install my App with MS redistributable VC8 Files everything works fine (vc8redist will be executed). But installation fails under win 2000, because IE 6.0 is expected for the redistributable. So this is no solution for me. The App has to run on 2000 too. (with this Setup under XP all jpegs will be loaded and everything works. I even can delete the imageoformats folder and app still works with jpeg support).

    Then i tried to include all MS-Dlls manually in my Setup. Installation works on 2000 and XP. The Application launches without Problems. But no JPEGs are loaded by QT. The "imageformats" folder and the "qjpeg1.dll" are present in the App Folder.

    I tried all posibilities by copying DLLs from on place to the other. But nothing works.

    Perhaps someone of you had the same problem? Does VC8 has its own JPEG Support, which have to include in my setup (i can delete qjpeg1.dll when installing with vc8 redist)?

    thanx and regards,
    c.

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Strange Problem with JPEG Support on win XP

    Probably qjpeg depends on some other library (like libjpeg or simmilar) which is not available on the target system. Use a dependency walker to check that out.

  3. #3
    Join Date
    Sep 2006
    Posts
    3
    Qt products
    Qt4
    Platforms
    MacOS X Windows

    Default Re: Strange Problem with JPEG Support on win XP

    Additional Note:
    The Setup with manuall copying of vc8 runtime works completely on 2000 (incl. JPEG Support). Only on XP JPEG Support fails.

    Probably qjpeg depends on some other library (like libjpeg or simmilar) which is not available on the target system. Use a dependency walker to check that out.
    Dependancy shows no missing libraries. Copying alle dependacies into app or imageformats folder makes no enhancement.

    c.

  4. #4
    Join Date
    Sep 2006
    Posts
    3
    Qt products
    Qt4
    Platforms
    MacOS X Windows

    Default Re: Strange Problem with JPEG Support on win XP

    Hi...

    only solution: made a setup, which checks OS and then installs needed runtimes.

    But: Now all works with 2000 and XP Prof. But not with SP Home

Similar Threads

  1. Problem building Qt4.1.0 with thread support on windows XP
    By pavithra in forum Installation and Deployment
    Replies: 1
    Last Post: 1st April 2006, 11:35
  2. Replies: 16
    Last Post: 7th March 2006, 15:57

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.