Results 1 to 3 of 3

Thread: program exits

  1. #1
    Join Date
    Sep 2006
    Posts
    7
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default program exits

    anyone know how to make my program stay open with no mainwindow?

    I have a program that when runs the mainwindow constructor doesn't show the mainwindow, it just creates a tray icon and a keyboard hook, and then shows windows as needed

    problem is if a dialog is displayed when it closes qt quits altogehter, I can't keep my program alive in the tray

    thanks in advance for the help and if you want code just ask and I can post some stuff

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Thanks
    28
    Thanked 976 Times in 912 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

  3. #3
    Join Date
    Sep 2006
    Posts
    7
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: program exits

    now I feel dumb for posting this, thanks a lot that was exactly what I needed

Similar Threads

  1. how to embed an existing kde program into Konquerer
    By sephiroth_0 in forum KDE Forum
    Replies: 1
    Last Post: 15th August 2006, 12:21
  2. Release my simple program to other users ?
    By probine in forum Qt Programming
    Replies: 9
    Last Post: 9th July 2006, 23:42
  3. why does qt program meet segmentation fault?
    By wquanw in forum Qt for Embedded and Mobile
    Replies: 1
    Last Post: 15th May 2006, 16:52
  4. preparing program for release
    By impeteperry in forum Installation and Deployment
    Replies: 5
    Last Post: 22nd April 2006, 19:30
  5. Enter key causing program to exit
    By welby in forum Qt Programming
    Replies: 2
    Last Post: 9th March 2006, 16:11

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.