Results 1 to 2 of 2

Thread: QSystemTrayIcon problem in windows

  1. #1
    Join Date
    Sep 2009
    Location
    Guangzhou, China
    Posts
    5
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Smile QSystemTrayIcon problem in windows

    Hi All:
    I am developing a program.
    It doesn't need the main window to interactive with the user, but needs an trayicon in the taskbar. So, I encapsutate the QSystemTrayIcon in my QWidget inherited class, and hide the main widget when the prog is ran. But strange enough, when I show the about informaion(QMeesageBox::about(this, .., ..)) in the trayicon context menu, after clicking the ok pushbutton, the prog exit. But if I show the window normally, the do the samething again, the prog don't exit. this only happens in windows, I do the samething in my RHEL, It works fine.
    So, How do I do If I don't want to exit the prog after clicking ok button in wndows?
    Thanks a lot!!
    X, explore unknown!
    http://buf1024.appspot.com

  2. #2
    Join Date
    Sep 2009
    Location
    Guangzhou, China
    Posts
    5
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: QSystemTrayIcon problem in windows

    Solve the problem!
    X, explore unknown!
    http://buf1024.appspot.com

Similar Threads

  1. QSystemTrayIcon help
    By SkylineBob in forum Qt Programming
    Replies: 2
    Last Post: 13th January 2010, 17:22
  2. QSystemTrayIcon on Windows Mobile 5
    By lovelypp in forum Qt Programming
    Replies: 0
    Last Post: 12th July 2008, 15:57
  3. Problem with QSystemTrayIcon on Mac OS
    By mourad in forum Qt Programming
    Replies: 1
    Last Post: 22nd May 2008, 10:53
  4. QSystemTrayIcon - how to make one?
    By slava in forum Qt Programming
    Replies: 4
    Last Post: 9th March 2008, 11:00
  5. problem when using QSystemTrayIcon
    By thrantir in forum Qt Programming
    Replies: 5
    Last Post: 23rd July 2007, 10:14

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.