Debug Assertion Failed



  • I'm try to compile Qt and project with static C-runtime with Visual Studio 2012 from command prompt.
    Then i try to debug project it show message:
    @file:f\dd\vctools\crt_bld\self_x86\crt\src\dbgheap.c
    Line: 1424
    Expression: _pFirstBlock == pHead@

    Code that throw this message is
    @QTextEdit *myEdit = new QTextEdit@

    Steps that i doing:

    1. In mkspecs\win32-msvc2012\qmake.conf change all /MD to /MT and /MDd to /MTd, from "CONFIG +=" delete "embed_manifest_dll embed_manifest_exe"
    2. Configuring Qt with
      @configure -opengl desktop -mp -nomake tests -nomake examples -fully-process -opensource \ -confirm-license -platform win32-msvc2012@
    3. Make Qt.

    How can i prevent this message?


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.