Results 1 to 4 of 4

Thread: Application doesn't display images

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jul 2009
    Posts
    139
    Qt products
    Qt4
    Platforms
    Unix/X11
    Thanks
    13
    Thanked 59 Times in 52 Posts

    Default Re: Application doesn't display images

    I think you need to put the image plugins in an imageformats subdirectory. See deploying on Windows.

  2. #2
    Join Date
    May 2009
    Posts
    29
    Qt products
    Qt4
    Platforms
    Windows
    Thanks
    10

    Default Re: Application doesn't display images

    Quote Originally Posted by numbat View Post
    I think you need to put the image plugins in an imageformats subdirectory. See deploying on Windows.
    Really thanks, that solved the gif problem!

    But I still have the svg problem. When setting the icon like specified before, this icon is correctly displayed in QMainWindow and related QDialogs bars. But I want to show the icon also in the about messagebox (QMessageBox::about(...)) like in the "browser" demo of Qt. Actually it is displayed in the about bar but not near the text.

    Now the dll's are located like:
    • libgcc_s_dw2-1.dll
    • mingwm10.dll
    • QtCore4.dll
    • QtGui4.dll
    • imageformats/qgif4.dll
    • imageformats/qsvg4.dll
    • iconengines/qsvgicon4.dll


    Thanks, Dario

  3. #3
    Join Date
    May 2009
    Posts
    29
    Qt products
    Qt4
    Platforms
    Windows
    Thanks
    10

    Default Re: Application doesn't display images

    Solved, svg icon need QtSvg4.dll

    Final dll's:
    • libgcc_s_dw2-1.dll
    • mingwm10.dll
    • QtCore4.dll
    • QtGui4.dll
    • QtSvg4.dll
    • imageformats/qgif4.dll
    • imageformats/qsvg4.dll


    Thanks

    Dario

Similar Threads

  1. problem in Display sequence of DICOM images
    By vincat in forum Qt Programming
    Replies: 0
    Last Post: 26th May 2009, 06:42
  2. Replies: 8
    Last Post: 8th May 2009, 09:14
  3. Can QTextBrowser display remote images?
    By golnaz in forum Newbie
    Replies: 1
    Last Post: 21st January 2009, 13:45
  4. How to display images in QTextBrowser ?
    By probine in forum Qt Programming
    Replies: 1
    Last Post: 12th January 2007, 08:58

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.