Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Debug Assertion Failed
Qt 6.11 is out! See what's new in the release blog

Debug Assertion Failed

Scheduled Pinned Locked Moved General and Desktop
1 Posts 1 Posters 2.5k Views 1 Watching
  • 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 Offline
    R Offline
    rrockru
    wrote on last edited by
    #1

    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
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved