Quote Originally Posted by fullmetalcoder View Post
Whatever I did, my additional target got processed BEFORE compilation... Is is me or is it a bug in qmake?
I think it is meant to be that way. At least that's what the docs suggest.

As far as I understand it, it is like this:

$(LINKER) $(PRE_TARGETDEPS) -o $(TARGET) $(POST_TARGETDEPS)

So both PRE and POST have to be built before the actual target. Those variables only determine the moment when they will be linked (the order of linked libraries is sometimes important).