Quote Originally Posted by Cesar View Post
Hmm... This is not quite right! It works this way if you don't use moc in the project.
Some digging in $QTDIR/mkspecs/$QMAKESPEC/qmake.conf gives the solution:

$ export MINGW_IN_SHELL=1
$ export QTDIR=/d/Qt/4.1.0
$ qmake -project
$ qmake
$ make

It work's fine for me!
The problem with moc is still there though...