I'm running Windows. And running debug, not release. I even added CONFIG += console, but then it would not compile.

It gave me this error:
undefined reference to WinMain@16
Also, I checked the compile command, and did not see QT_NO_DEBUG_OUTPUT.