a short piece of code:
/////////////////////////////////////
boost::regex reg;; try { reg.assign( "[]d"); } catch(std::runtime_error & e) { //exception }
//////////////////////////

this code runs well in Eclipse with MingW. When I copy this code in my QT project and run, it seems that QT lib cannot handle the exception which boost.regex lib throws. A run time termination warning shows as a result. I'm using win7 64bit. My QT is integrated with MingW 4.4 .

Did any one encounter a similar problem? Could someone help me ?