Results 1 to 3 of 3

Thread: QMessageBox closes entire application

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Mar 2007
    Location
    Germany
    Posts
    229
    Qt products
    Qt4
    Platforms
    Windows
    Thanks
    2
    Thanked 29 Times in 28 Posts

    Default Re: QMessageBox closes entire application

    1st. Use [code] tags when posting code here .
    2nd. Perhaps it helps when you don't create the message box on the heap using new, but create it directly on the stack. The message box is only used inside the slot ErrAlert(), so there is no need to create it with new.

  2. The following user says thank you to Boron for this useful post:

    Leoha_Zveri (19th September 2009)

  3. #2
    Join Date
    Sep 2009
    Posts
    5
    Qt products
    Qt4
    Platforms
    Unix/X11
    Thanks
    1

    Default Re: QMessageBox closes entire application

    thanks a lot!!!!!!!!!!!!! it worked

Similar Threads

  1. Replies: 6
    Last Post: 5th August 2009, 11:40
  2. Deploying Qt 4.5.1 Application on RHEL 5.. Pls Help
    By swamyonline in forum Installation and Deployment
    Replies: 0
    Last Post: 28th June 2009, 12:43
  3. About QMessageBox close my tray application
    By Doles in forum Qt Programming
    Replies: 2
    Last Post: 19th July 2008, 22:27
  4. dll + application
    By fpujol in forum Qt Programming
    Replies: 11
    Last Post: 15th April 2007, 19:37

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
  •  
Qt is a trademark of The Qt Company.