You need to install the devel package for qt3. If you cannot find the desired package, then you can get the qt sources from
tolltech and compile them yourself. An alternative would be to get a newer distro e.g. Fedora Core or CentOS that is still being actively maintained unlike Redhat 9.