Changing the include in kopete/jabber is just a workaround not a solution. IMHO symlinks to those headers should be just removed from qt3/include dir (rm include/{[q^]*.h,*_p.h})... it seems works well for me: tqtinterface and kdelibs compiles ok.
In the original qt 3.3.8b sources ther are many sym links. Comparing those sources to Trinity indicates that probably only those sym links to src/3rdparty/*/*.h should be broken.
If Tim doesn't pipe in soon on this conversation then file a Build issue bug report with a status of Blocker.
Darrell