Results 1 to 5 of 5

Thread: QSystemTrayIcon - how to make one?

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Feb 2008
    Posts
    43
    Thanks
    14

    Question QSystemTrayIcon - how to make one?

    I did an application with a system tray icon and that works fine. However instead of the tray icon itself it is just an empy space in the systray.
    I have tryied:

    Qt Code:
    1. QIcon icon ("Envelop.ico");
    2. trayIcon->setIcon(icon);
    To copy to clipboard, switch view to plain text mode 

    but that do nothing. The manual uses an example with some icons in *.svg format but I have only .jpg or .ico. Can I use those and if yes, how? Please help.
    Last edited by jpn; 9th March 2008 at 09:37. Reason: missing [code] tags

Similar Threads

  1. Replies: 1
    Last Post: 4th February 2008, 11:12
  2. QT4 for kde 4 beta 2 configure problem: make not found
    By marcomangiante in forum Installation and Deployment
    Replies: 1
    Last Post: 5th September 2007, 20:35
  3. Window OS make distclean && qmake && make one line
    By patrik08 in forum General Programming
    Replies: 4
    Last Post: 22nd March 2007, 10:43
  4. Compiling with Qmake/Make
    By VireX in forum Newbie
    Replies: 25
    Last Post: 22nd February 2007, 05:57
  5. Qt4.1.4 make errors.
    By impeteperry in forum Installation and Deployment
    Replies: 11
    Last Post: 1st July 2006, 17:27

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.