Results 1 to 6 of 6

Thread: displaying .gif

  1. #1
    Join Date
    May 2009
    Location
    Germany
    Posts
    8
    Qt products
    Qt4
    Platforms
    Windows

    Default displaying .gif

    Hi,

    I'm using Qt 4.5.2 on Vista and I have an application to show images.
    On my machine I can display .gif as well as .jpg and .png and so on.
    If I make a release version and run the app on a other machine(without Qt installed),
    I cannot view .gif any longer, but still can .jpg .png ....

    I've already copied all dlls I could find to my release directory on usb-stick, but that didnt help..

    What else can I do?

    best regards
    sven

  2. #2
    Join Date
    Dec 2007
    Posts
    628
    Thanks
    3
    Thanked 89 Times in 87 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: displaying .gif

    Try putting "qgif4.dll" in your app folder.
    You can find it in. "\Qt\4.5.2\plugins\imageformats".

  3. #3
    Join Date
    May 2009
    Location
    Germany
    Posts
    8
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: displaying .gif

    I've already tried, but it didnt help... thanks anyway

    btw i realised that it isnt displaying .jpg too, only .png is viewable..
    Last edited by sven-kt; 12th October 2009 at 14:07.

  4. #4
    Join Date
    Jan 2008
    Location
    Poland
    Posts
    687
    Thanks
    4
    Thanked 140 Times in 132 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: displaying .gif

    do you have QtSDK or self compiled Qt version? and create imageformats directory in your .exe dir and put right dlls (like qgif4.dll) in that directory
    I would like to be a "Guru"

    Useful hints (try them before asking):
    1. Use Qt Assistant
    2. Search the forum

    If you haven't found solution yet then create new topic with smart question.

  5. #5
    Join Date
    May 2009
    Location
    Germany
    Posts
    8
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: displaying .gif

    many, many thanks!! that worked - i needed to create the folder imageformats in my directory and put the dlls in there.

    thank you
    sven

  6. #6
    Join Date
    May 2009
    Location
    Germany
    Posts
    8
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: displaying .gif

    Now I have compiled the application static and I have the same problem again.
    Neither adding imageformats folder nor adding the dlls to .exe directory solved...

    Anyone an idea?

Similar Threads

  1. Replies: 2
    Last Post: 15th July 2009, 15:53
  2. QScrollArea not displaying large number of images
    By lpkincaid in forum Qt Programming
    Replies: 1
    Last Post: 31st May 2009, 09:58
  3. list view displaying same item value...
    By addu in forum Newbie
    Replies: 1
    Last Post: 30th May 2009, 01:55
  4. Saveing in .gif format
    By chethana in forum Qt Programming
    Replies: 8
    Last Post: 9th October 2007, 17:27
  5. using .gif or .mng ?
    By mnemonic_fx in forum Qt Tools
    Replies: 2
    Last Post: 27th June 2007, 20:40

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.