This patch allows successfull installation of qt-gui-4.7.1 on ppc-macos (may work for other versions too). However, I needed to explicitly specify "-jit" to get dependency qt-script compiled
Created attachment 254937 [details, diff] Patch for qt-gui-4.7.1-r1
looks good to me, apart from the unnecessary braces. qt team, what do you think?
I think you missed the private headers, I fixed them too now.