Results 1 to 2 of 2

Thread: QSystemTrayIcon supported image file types?

  1. #1
    Join Date
    Jan 2010
    Posts
    13
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Unix/X11

    Unhappy QSystemTrayIcon supported image file types?

    Hi, I'm modifying a program and it uses 22x22 png images for the image that is displayed in the tray. I created my own 22x22 png image but it comes up as nothing but an empty space on the tray.

    Why is this? How can fix it?

    I've read the QSystemTrayIcon class reference but didn't find anything. Please help.
    Ubuntu: Eclipse Galileo with CDT and QT integration plug-in.

    Try, try and try again. Abort. Continue. Fail?

  2. #2
    Join Date
    Jan 2006
    Location
    Frankfurt
    Posts
    500
    Thanks
    1
    Thanked 52 Times in 52 Posts
    Platforms
    MacOS X Unix/X11

    Default Re: QSystemTrayIcon supported image file types?

    Are you sure that you pixmap gets loaded successfull? First check the size of the image loaded to be different from 22x22 and then try to display your image in a QLabel.
    It's nice to be important but it's more important to be nice.

Similar Threads

  1. Replies: 4
    Last Post: 10th December 2009, 17:37
  2. Supported image format for QMovie?
    By cookie1909 in forum Newbie
    Replies: 2
    Last Post: 21st April 2009, 08:30
  3. QT4 - QT SOAP supported?
    By talk2amulya in forum Qt Programming
    Replies: 2
    Last Post: 11th February 2009, 10:15
  4. How to set default icons of different file types?
    By merry in forum Qt Programming
    Replies: 3
    Last Post: 2nd June 2008, 16:24
  5. how to load a Qt non-supported Image format
    By Nithya in forum Qt Programming
    Replies: 5
    Last Post: 3rd April 2008, 13:57

Tags for this Thread

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.