Just to wrap things up, I managed to solve the problem by installing Qt 5.1.1 along with mingw 4.8, and re-compiling everything with mingw 4.8

Now I have another issue :-P but I think it deserves a second thread, since it's completely different.