Problem emiting a Signal from a catch block using VC10.
-
I'm having a problem crashing when I try to emit a signal from a catch block with Visual C++ 2010. The same code runs fine under mingw. I've tried a connect with Qt::DirectConnection but with the same result. I know what the exception is, I just want to be able to handle it without crashing.
@
// works with mingw but crashes with visual c++
try{
foo();
}
catch(exception& e){
emit errorCaught("error caught: "+e.what());
}
@Edit: please use @ tags around code sections; Andre
-
Never Mind, I found the problem.
-
[quote author="jh224" date="1348490402"]Never Mind, I found the problem. [/quote]
Do you mind sharing your findings?