In qt4-r2.eclass, eqmake4() calls qmake with the `-nocache` option which disables reading .qmake.cache from the working dir. Disabling qmake cache globally is not a good idea because there are packages actually relying on it, and they break in subtle and hard-to-debug ways when the cache is missing. If caching causes issues for a specific package, then it should be disabled at the ebuild level (by passing -nocache to eqmake4). Furthermore there are now some packages that *require* it to be enabled in order to build successfully and there are no feasible workarounds for building them without qmake cache (e.g. >=qt-mobility-1.1.0). So please drop -nocache from line 248 in qt4-r2.eclass :)
done: "remove -nocache from qmake invocation because Davide threatened me to do it, actual proof in bug 349805"