When the 'X' USE flag is unset, x11-libs/qt should disable the QtGui module and not depend on X.
If you want to submit a patch to do so, that would be great. TT provides no way to built Qt4 without X, so it's nothing I can do anything about, unfortunately.
<nuge> go into the src/ directory <nuge> and in the .pro in there <nuge> remove the 'gui' entry in the SUBDIR list
have you tried it? it doesn't work.
I have tried it in a limited scope... the configure options must not force any X features on (xkb, etc), and certain plugins might also need to be removed from .pro files (I just removed 'plugins' itself to test). qt3support might need to be disabled as well, I'll find out by the time the test compile completes (or doesn't).
closing as a LATER. If you want ot provide patches to make this happen, I'm all for it.