My guess is that there is a macro defined somewhere in one of the headers (splashscreen, clientversion or util) that conflicts with the offending line in qeventloop.h:98.