Results 1 to 2 of 2

Thread: Runtime error in qt

  1. #1
    Join Date
    Nov 2011
    Posts
    5
    Qt products
    Qt3
    Platforms
    Windows

    Default Runtime error in qt

    Hi I'm new to Qt. I've studied it for quite some time and I am developing a game right now. I have been successful in creating a puzzle. The problem is, a runtime error appears for some time.. the error appears as follows:

    Qt Code:
    1. ASSERT: “d” in file
    2. c:\iwmake\build_vs2008_opensource___________________padding____________
    3. ______\include\qtcore\../../src/corelib/tools/qscopedpointer.h, line 112
    To copy to clipboard, switch view to plain text mode 

    .. but after 10 builds all works fine.. I'm afraid that the error would still come up. So anyone, please.. help?

  2. #2
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: Runtime error in qt

    The message will be output in debug mode when you attempt to dereference a null QScopedPointer. The message will not be output if the program is built with QT_NO_DEBUG set (as it may be in release mode).

    You need to inspect your code that is using QScopedPointer. If you are not using QScopedPointer directly then run the program in a debugger until it stops at this line and follow back along the back trace until find your code and the offending statement.

Similar Threads

  1. Replies: 1
    Last Post: 25th September 2010, 08:20
  2. Runtime Error
    By zawal in forum Qwt
    Replies: 10
    Last Post: 1st August 2009, 11:46
  3. QT 4.4 runtime error
    By Ricochet in forum Newbie
    Replies: 1
    Last Post: 5th May 2008, 18:50
  4. runtime error
    By mickey in forum General Programming
    Replies: 10
    Last Post: 12th December 2006, 20:10
  5. runtime error
    By mickey in forum General Programming
    Replies: 1
    Last Post: 11th June 2006, 13:38

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.