Description
The Qt_defines_ macro seems to set the debug flag wrong (it is set as /D "NDEBUG" isntead of /D "_DEBUG"). This causes standard assert's to not work anymore.
To reproduce, simply create a new Qt console or GUI application in visual studio and check the debug flags in the C/C++ command line.
To check that asserts are not properly compiled, add "assert(false)" to the main function and build&run.
Attachments
Issue Links
- duplicates
-
QTVSADDINBUG-733 Plugin seems to force NDEBUG define, breaking assertions
- Closed