I got even deeper into the problem. It turns out that if the "Default for "Run in terminal"" option is enabled (Edit - Preferences - Build & Run), then this error will occur. Everything returns to normal if you disable this option.
For those experiencing the same problem as myself, check your path for perivous GNU mingw installation.
I personally am a GNU user, so i have 64-bit mingw installed on my desktop, that's causes a confliction with the one come with QT creator installation.