Results 1 to 2 of 2

Thread: QSystemTrayIcon supported image file types?

  1. #1
    Join Date
    Jan 2010
    Qt products

    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
    Thanked 52 Times in 52 Posts
    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, 16:37
  2. Supported image format for QMovie?
    By cookie1909 in forum Newbie
    Replies: 2
    Last Post: 21st April 2009, 07:30
  3. QT4 - QT SOAP supported?
    By talk2amulya in forum Qt Programming
    Replies: 2
    Last Post: 11th February 2009, 09:15
  4. How to set default icons of different file types?
    By merry in forum Qt Programming
    Replies: 3
    Last Post: 2nd June 2008, 15:24
  5. how to load a Qt non-supported Image format
    By Nithya in forum Qt Programming
    Replies: 5
    Last Post: 3rd April 2008, 12:57

Tags for this Thread


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.