Anyone knows solution to make TrayIcon with Qt4? I was looking for it a little bit but i've found only Qt4 trayicon port from PSI. I need something simple for now (just for kde and maybe gnome).
Anyone knows solution to make TrayIcon with Qt4? I was looking for it a little bit but i've found only Qt4 trayicon port from PSI. I need something simple for now (just for kde and maybe gnome).
Look in qt example TrayIcon
a life without programming is like an empty bottle
I don't think there's such example in Qt4. It used to be in Qt3..Originally Posted by zlatko
Thats right... TrayIcon example was removed in Qt4
Maybe this code will work.
http://www.koders.com/cpp/fid849893D...9EB4874AC.aspx
Luckily for you, it is GPL'ed. Remember to get the header and the appropriate trayicon_$platform.cpp file(s) too.
My philosophy is: If you can use a free, open-source alternative: do it. And if you can't, pretend it's free and open-source and hope you don't get caught.
Uch its Qt3 code... I have port of it to Qt4 but also i need some simple example to undestand it quite easily... Code i have is realy strange and after few fixes needed to compile, it doesnt work at all (Well my task behave like while adding icon but no icon appear). Also as jacek suggested to me i would like to use dbus (cuz it should handle task icon for al WMs on Unix platforms)
Last edited by naresh; 15th February 2006 at 17:43.
You have misunderstood me, I was only speculating about the future.Originally Posted by naresh
Check out: http://www.qtnode.net/wiki/Systray
Bookmarks