I've got a problem. I use the following Code to convert a std::string into a QString.
std::string testStdStr = "Hello";
QString test = QString::fromStdString(testStdStr);
This code throws a bad_alloc exception unter MSVC 2013 Prof, but only in DEBUG Mode! If I compile in Release Mode everything works as expected.
Some Additional Information: SUBSYSTEM is changed to Windows AND the Entry Point is set to mainCRTStartup
The exception is thrown at the point of initialization of the QString Object! Any suggestions? If you need additional Information, just ask!