I am using a library that requires the QMAKE_CXXFLAGS_DEBUG += /MD flag in debug mode to work.

When I activate it, the library commands work correctly but QString::fromStdString does not work, I have tried with a try: catch: but there is no error, the program simply crashed.

When performing the debug process you get the error: The inferior stopped because it triggered an exception.?Stopped in thread 0 by: Exception at 0x7ffb9113575f, code: 0xc0000005: read access violation at: 0xffffffffffffffff, flags=0x0 (first chance).

Please help with this problem!

Thanks!