Hi,
I have setup Qt SDK on Windows XP and tried to build my app,
and then got an exception error when converting QString to
std::string using QString::toStdString().
This happens on Simulator Qt for Visual Studio 2008 env.
I have other project, e.g. 4.6.2 Desktop, and it works fine.
So I just created a sample hello world app using QtCreator,
and add the following code MainWindow constructor.
In this case, when exiting from the constructor function,Code:QString qstr = "1234567890123456"; std::string sstr = qstr.toStdString();
I get an exception error as follow.
HEAP[testsdk01.exe]: Invalid Address specified to RtlValidateHeap( 00BF0000, 0124B7D8 )
The issue happens if the QString length is more than 16.
Is this a bug?




