Results 1 to 12 of 12

Thread: close event

  1. #1
    Join Date
    Jun 2009
    Posts
    41
    Qt products
    Qt4
    Platforms
    Windows

    Default close event

    hey,

    I have done an application with some wime widgets. I haven't got any problem when i work with them. But when i close the apllication this message appears:

    problem.zip

    how can i solve it?

    i have inserted the destroy function in the main, but i don't know what i'm doing wrong.

    thanks

  2. #2
    Join Date
    Nov 2008
    Location
    Częstochowa/Poland
    Posts
    50
    Thanks
    2
    Thanked 11 Times in 11 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: close event

    Sorry but if You want some one to help You, you'll need to show us some more details(code of the problematic close event). This is an English speaking forum a .bmp file with a windows error dialogue in what ever language that is want do.s want do.

  3. #3
    Join Date
    Jun 2009
    Posts
    41
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: close event

    sorry to me! the language that i have shown the error is spanish.

    the application does what i need but when i close the application in that picture appears the next one:

    "pantaila.exe has encountered a problem and needs to close.

    If you are in the process, you might miss the information that is working".

  4. #4
    Join Date
    Jun 2009
    Posts
    41
    Qt products
    Qt4
    Platforms
    Windows

    Question Re: close event

    ´´´´´....... .. .. ..
    Last edited by IRON_MAN; 29th September 2009 at 15:00.

  5. #5
    Join Date
    Jun 2009
    Posts
    41
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: close event

    Re: close event
    Last edited by IRON_MAN; 29th September 2009 at 15:17.

  6. #6
    Join Date
    Jun 2009
    Posts
    41
    Qt products
    Qt4
    Platforms
    Windows

    Exclamation Re: how can i use a close event?

    QUOTE=IRON_MAN;116999]hey,


    how can i solve it?



    thanks[/QUOTE]
    Last edited by IRON_MAN; 29th September 2009 at 15:25.

  7. #7
    Join Date
    Jun 2009
    Posts
    41
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: sth happens

    i have inserted the destroy function in the main, but i don't know what i'm doing wrong.

    thanks[/QUOTE]

  8. #8
    Join Date
    Jun 2009
    Posts
    41
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: close event

    [

    ++

    ............... .................. ````` --
    problem.zip

    how can i solve it?

    ........................... ...............

    thanks[/QUOTE]

  9. #9
    Join Date
    Jun 2009
    Posts
    41
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: close event

    [QUOTE=IRON_MAN;117010]sorry to me! the language that i have shown the error is spanish.

  10. #10
    Join Date
    Jun 2009
    Posts
    41
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: close event

    [QUOTE=IRON_MAN;117010]sorry to me!

  11. #11
    Join Date
    Jun 2009
    Posts
    41
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: close event

    [QUOTE=IRON_MAN;117010]sorry to me! the language that i have shown the error is spanish.

    ...

  12. #12
    Join Date
    Mar 2008
    Posts
    27
    Thanks
    1
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: close event

    I know this thread is a few days old, but the question seems not to be answered yet.

    This error usually occours when you try to do one of the following things:
    • Devide by zero
    • Use a pointer to an object that doesn't exist
    • Perform an illegal operation to a variable adress


    As you can see, that is quite a list. So in order to solve your problem, we need to see the code in your destructor.

    If your code as a whole isn't too big, you might want to post your entire code. If it is a big program, please post your destructor and maybe the variable declarations in your .h file.

    DrDonut

Similar Threads

  1. Replies: 17
    Last Post: 2nd June 2009, 11:18
  2. Close event in QMdiSubWindow
    By bxaHj in forum Newbie
    Replies: 1
    Last Post: 26th May 2009, 22:18
  3. Replies: 4
    Last Post: 19th February 2009, 12:10
  4. Close Event for DialogBased Application.
    By merry in forum Qt Programming
    Replies: 1
    Last Post: 12th December 2007, 13:33
  5. Close event
    By gyre in forum Newbie
    Replies: 3
    Last Post: 20th November 2007, 14:49

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.