Passing -pch flag to the qt configure script could enable precompiled headers in qt-3.x.
Created attachment 78460 [details, diff] Proposed fix
this flag just enables pch for this compile it doesnt install the headers it generates for it so having this enabled wont affect other applications or anything it does however help compile time alot for me since pch isnt avaiable for all gcc verisons a check for gcc 3.4 and higher might be in order depends if their build system is smart enuf or not Sat Mar 18 15:34:21 2006 >>> x11-libs/qt-3.3.4-r8 merge time: 21 minutes and 59 seconds. Sat Mar 18 15:51:14 2006 >>> x11-libs/qt-3.3.4-r8 merge time: 15 minutes and 50 seconds.
qt-4.x has same bug
It's fixed in 4.2. I just haven't had a chance to verify it in 4.1
fixed long ago.