Results 1 to 2 of 2

Thread: QLabel Issues

  1. #1
    Join Date
    Mar 2006
    Posts
    29
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default QLabel Issues

    Hi All

    I am vijay using VS 2005 With QT Integration 4.1.1. I want to display gif files in Labels. i can display bmp and jpeg, png formats. But gif files is not shown up. I have used

    label->setPixmap("") -> to show the pixmap on the label. It works, gif files is not coming

    Looking forward your reply
    thanks and regards
    vijay

  2. #2
    Join Date
    Jan 2006
    Posts
    667
    Thanks
    10
    Thanked 80 Times in 74 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: QLabel Issues

    By default Qt does not support .gif files. You have to either configure Qt to support gif files or convert your gif into jpeg or png (if its a plain picture).
    Last edited by munna; 27th June 2006 at 13:44. Reason: a little mistake

Similar Threads

  1. [SOLVED] subclassing qlabel
    By mickey in forum Newbie
    Replies: 10
    Last Post: 4th June 2008, 14:43
  2. QT4 layout of complex dialog is very slow
    By cboles in forum Qt Programming
    Replies: 15
    Last Post: 28th April 2006, 19:57
  3. how to catch enter press in QLabel?
    By Morea in forum Newbie
    Replies: 2
    Last Post: 26th March 2006, 22:53
  4. table in QLabel
    By Pan Wojtas in forum Qt Programming
    Replies: 19
    Last Post: 13th February 2006, 11:37
  5. QLabel with HTML-style formatting docs?
    By Everall in forum Qt Programming
    Replies: 6
    Last Post: 7th February 2006, 20:01

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.