[CentOS] how to find out dependencies

Sun May 3 11:34:00 UTC 2009
Jerry Geis <geisj at pagestation.com>

At install I had Gnome and Not KDE.

doing rpm -qa | grep qt results in
qt-3.3.6-23.el5
qt4-4.2.1-1

How can I find out what package loaded the qt4 and qt?

Thanks,

Jerry