I just updated both Qt lib and Qt Creator (the first from 4.8.1 to 5.1.0) in my PC and now I'm having to recompile my projects to make them work again.

Till now I did already to some of my projects and all of them run fine. But recently I tried to recompile a console application and it fails constantly to start (both debug as well as release mode). Running in release mode, the error message "Cannot obtain a handle to the inferior: The parameter is incorrect." appears constantly, while in debug two pop-ups appear: "The gdb process terminated unexpectedly (code 0)" and "During startup program exited with code 0xc0000020".

Since the code is quite small, I decide to created a new console project and then just add to it, part by part, the not working code, and I found out that even with a clean app or just a simple std::cout the problem still appears (although some times I need to executed and close it successfully some times till the problem appears), what gave me the impression the problem is regarding the fact that this is a console app.

I searched the web after the error message code and found some forum threads (http://qt-project.org/forums/viewthread/25326/ and http://qt-project.org/forums/viewthread/21311) that suggested the inclusion of Qt 5 path to the environment variable (I'm using Windows 7 64 bit) and doing the complete delete-all-open-again procedure, but nothing of this worked with me. So I run out of options

What else is necessary for me to be able to run my apps successfully?

Thanks for any help,