Are you sure this is a Qt related problem? From what I see it is the STL runtime of MSVC that asserts... You are probably doing something you shouldn't be doing with the string.