Update: the problem was solved by installing the library-only download (instead of the Qt SDK) and the separate MinGW zipfile from the Qt Downloads page. The problem is obviously with the SDK. I do not use Qt Creator anyway (I use Vim and the command line).