Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Debug Assertion Failed

    General and Desktop
    1
    1
    2114
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • R
      rrockru last edited by

      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?

      1 Reply Last reply Reply Quote 0
      • First post
        Last post