Results 1 to 4 of 4

Thread: qt crashed!

  1. #1
    Join Date
    Jun 2012
    Posts
    12
    Thanks
    2
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default qt crashed!

    hi ;
    i have 3 levels in my game that writewith qt ,i am using qgraphicsview and qgraphicsScene i write this 3 levels then i add this levels separately to the scene by calling
    myscene.addItem(...) and it work ; (each scene contains some QPixmap ; ...)

    but when i want to start from level 1 it errors:
    i mean that when level1 finish i write with signal and slot that scene.clear() and add new level
    but it errors?
    SIGSEGV error?
    please help me!

  2. #2
    Join Date
    Jan 2006
    Location
    Germany
    Posts
    4,380
    Thanks
    19
    Thanked 1,005 Times in 913 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows Symbian S60
    Wiki edits
    5

    Default Re: qt crashed!

    Debug your application and send us the backtrace. Otherwise we can only guess.

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

    Default Re: qt crashed!

    another 'whats wrong with my code' post that shows no code.
    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
    5,230
    Thanks
    302
    Thanked 864 Times in 851 Posts
    Qt products
    Qt5
    Platforms
    Windows

    Default Re: qt crashed!

    SIGSEGV error?
    This error almost always means one of several things: you are trying to access something using a bad pointer (one that is NULL, has not been initialized or has been freed already), you are trying to access an array with an invalid index, or something else you did has corrupted memory and overwritten memory with garbage.

    So since you are the only one looking at your code right now, you will have to figure out for yourself which of these problems applies.

Similar Threads

  1. QFileDialog is crashed?
    By Gokulnathvc in forum Newbie
    Replies: 3
    Last Post: 19th December 2011, 07:16
  2. winId() crashed
    By nedivi in forum Qt Programming
    Replies: 1
    Last Post: 6th March 2011, 23:03
  3. Qt Creator gdb crashed cause of LD_PRELOAD cannot be preloaded
    By pk in forum Qt Tools
    Replies: 3
    Last Post: 12th July 2010, 09:06
  4. Help: Qt crashed when linked against libSoQt
    By jwieland in forum Qt Programming
    Replies: 18
    Last Post: 14th April 2009, 22:17
  5. Crashed project
    By MarkoSan in forum Qt Programming
    Replies: 3
    Last Post: 26th January 2008, 00:25

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.