Well, I think the decision to use Qt for MinGW does not make sense. Remove completely Qt for MinGW and install versions for MSVC 2010.