Hi, i posted this issue a few days ago on gentoo-dev ML,i only wanted it to be also in bugzilla: http://article.gmane.org/gmane.linux.gentoo.devel/21597 . ebuild and environment files will be attached.
Created attachment 40624 [details] qt-3.3.3-r2.ebuild
Created attachment 40625 [details] files/45qt3
Created attachment 40626 [details] files/50qtdir3
FWIW the qt4 ebuilds are/will be FHS compatible. But doing the same with qt3 would be too much work IMO. (Reading the linked mail thread, it appears the ebuild attached doesn't actually enable any other qt/kde ebuild to compile) Sorry, and thanks for the submission.