Results 1 to 10 of 10

Thread: the program has unexpectedly finished

  1. #1
    Join Date
    Feb 2012
    Posts
    44
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11

    Default the program has unexpectedly finished

    i inherited QTextEdit class and then removed later for that time on wards , I am unable to run my application ERROR IS THE PROGRAM IS FINISHED UNEXPECTEDLY

    plz. help me............................

  2. #2
    Join Date
    Jan 2006
    Location
    Munich, Germany
    Posts
    4,716
    Thanks
    21
    Thanked 418 Times in 411 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: the program has unexpectedly finished

    help me
    how do you suggest we do that?
    ==========================signature=============== ==================
    S.O.L.I.D principles (use them!):
    https://en.wikipedia.org/wiki/SOLID_...iented_design)

    Do you write clean code? - if you are TDD'ing then maybe, if not, your not writing clean code.

  3. #3
    Join Date
    Sep 2011
    Posts
    1,245
    Thanks
    3
    Thanked 127 Times in 126 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: the program has unexpectedly finished

    Quote Originally Posted by narlapavan View Post
    i inherited QTextEdit class and then removed later for that time on wards , I am unable to run my application ERROR IS THE PROGRAM IS FINISHED UNEXPECTEDLY

    plz. help me............................
    Sure thing. Just let me find my crystal ball....
    If you have a problem, CUT and PASTE your code. Do not retype or simplify it. Give a COMPLETE and COMPILABLE example of your problem. Otherwise we are all guessing the problem from a fabrication where relevant details are often missing.

  4. #4
    Join Date
    Jan 2008
    Location
    Alameda, CA, USA
    Posts
    4,783
    Thanks
    262
    Thanked 773 Times in 763 Posts
    Qt products
    Qt5
    Platforms
    Windows Android

    Default Re: the program has unexpectedly finished

    how do you suggest we do that?
    Gosh, you're a "wiseguy", doesn't that mean you know how to do everything? And wysota is a "master of zen", and while I strive to achieve this exalted status, I'm still only a lowly "advanced user". Between the three of us though, we should be able to see deeply into this post and visualize the code that isn't there. I'm sure if we stare long enough, the solution will be revealed to us and we can write the results of our wisdom here.

    Sure thing. Just let me find my crystal ball....
    Hey, no fair using magic! I'm sure wysota didn't become a master of zen by using cheap parlour tricks like crystal balls and Ouija boards.

  5. #5
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,364
    Thanks
    3
    Thanked 5,013 Times in 4,791 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: the program has unexpectedly finished

    Quote Originally Posted by d_stranz View Post
    Hey, no fair using magic! I'm sure wysota didn't become a master of zen by using cheap parlour tricks like crystal balls and Ouija boards.
    I'm sure I didn't edit my user title like one wiseguy over here It took a lot of spamming and totally useless posts though...
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  6. #6
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,688
    Thanks
    13
    Thanked 1,598 Times in 1,526 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: the program has unexpectedly finished

    Quote Originally Posted by narlapavan View Post
    i inherited QTextEdit class and then removed later for that time on wards , I am unable to run my application ERROR IS THE PROGRAM IS FINISHED UNEXPECTEDLY
    Please don't yell, I am delicate

    On the off-chance that the OP visits this thread again...
    If the program starts at all the program is probably accessing a pointer that is null, not initialised, or already deleted.
    If the program does not start at all then the program is probably missing a run-time dependency.
    If you construct a better question then you might get a better answer.

  7. #7
    Join Date
    Jan 2006
    Location
    Munich, Germany
    Posts
    4,716
    Thanks
    21
    Thanked 418 Times in 411 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: the program has unexpectedly finished

    I'm sure I didn't edit my user title like one wiseguy over here
    Well, I am sorry wysota, but these "ranks" our site gives are pretty lame... so I just had to!

    And "wiseguy" is has nothing to do with being wise!
    Its a term from the Mafia world, which means something like "Mobster".
    There is at least one book with the title Wiseguy dealing with the subject:
    http://en.wikipedia.org/wiki/Wiseguy_%28book%29
    http://books.google.ca/books?id=eC6E...sec=frontcover

    ==========================signature=============== ==================
    S.O.L.I.D principles (use them!):
    https://en.wikipedia.org/wiki/SOLID_...iented_design)

    Do you write clean code? - if you are TDD'ing then maybe, if not, your not writing clean code.

  8. #8
    Join Date
    Jan 2008
    Location
    Alameda, CA, USA
    Posts
    4,783
    Thanks
    262
    Thanked 773 Times in 763 Posts
    Qt products
    Qt5
    Platforms
    Windows Android

    Default Re: the program has unexpectedly finished

    And "wiseguy" is has nothing to do with being wise!
    Oh, that's good to know. Does that mean we can't trust your answers?

    Or does it mean that if we disrespect you, you'll send Vinnie and and his baseball bat over to teach us about it?

  9. #9
    Join Date
    Sep 2011
    Posts
    1,245
    Thanks
    3
    Thanked 127 Times in 126 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: the program has unexpectedly finished

    just dont be surprised when you wake up next to a horse head
    If you have a problem, CUT and PASTE your code. Do not retype or simplify it. Give a COMPLETE and COMPILABLE example of your problem. Otherwise we are all guessing the problem from a fabrication where relevant details are often missing.

  10. #10
    Join Date
    Jan 2006
    Location
    Munich, Germany
    Posts
    4,716
    Thanks
    21
    Thanked 418 Times in 411 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: the program has unexpectedly finished

    just dont be surprised when you wake up next to a horse head
    exactly!
    ==========================signature=============== ==================
    S.O.L.I.D principles (use them!):
    https://en.wikipedia.org/wiki/SOLID_...iented_design)

    Do you write clean code? - if you are TDD'ing then maybe, if not, your not writing clean code.

Similar Threads

  1. Replies: 6
    Last Post: 24th June 2012, 19:32
  2. Replies: 4
    Last Post: 5th December 2011, 02:20
  3. Replies: 2
    Last Post: 10th November 2011, 08:58
  4. Program quits unexpectedly
    By MCFormax in forum Newbie
    Replies: 2
    Last Post: 9th November 2011, 03:31
  5. Program has unexpectedly finished
    By Maluko_Da_Tola in forum Newbie
    Replies: 5
    Last Post: 1st December 2010, 10:54

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.