checking for Qt... configure: error: Qt (>= Qt 3.3 and < 4.0) (headers and libraries) not found. Please check your installation!
For more details about this problem, look at the end of config.log.
!!! Please attach the following file when filing a report to bugs.gentoo.org:
!!! /var/tmp/portage/kdelibs-3.5.2-r6/work/kdelibs-3.5.2/config.log
!!! ERROR: kde-base/kdelibs-3.5.2-r6 failed.
Call stack:
ebuild.sh, line 1543: Called dyn_compile
ebuild.sh, line 938: Called src_compile
kdelibs-3.5.2-r6.ebuild, line 127: Called kde_src_compile
kde.eclass, line 164: Called kde_src_compile 'all'
kde.eclass, line 323: Called kde_src_compile 'myconf' 'configure' 'make'
kde.eclass, line 305: Called econf '--with-distribution=Gentoo' '--enable-libfam' '--enable-dnotify' '--with-libart' '--with-libidn' '--with-utempter' '--without-acl' '--with-ssl' '--with-alsa' '--without-arts' '--without-gssapi' '--with-tiff' '--without-jasper' '--without-openexr' '--enable-cups' '--disable-dnssd' '--without-hspell' '--with-aspell' '--with-rgbfile=/usr/share/X11/rgb.txt' '--disable-fast-malloc' '--with-x' '--enable-mitshm' '--without-xinerama' '--with-qt-dir=/emul/linux/x86/usr/qt/2:/emul/linux/x86/usr/qt/3' '--enable-mt' '--with-qt-libraries=/emul/linux/x86/usr/qt/2:/emul/linux/x86/usr/qt/3/lib64' '--disable-dependency-tracking' '--disable-debug' '--without-debug' '--enable-final' '--without-arts' '--prefix=/usr/kde/3.5' '--mandir=/usr/kde/3.5/share/man' '--infodir=/usr/kde/3.5/share/info' '--datadir=/usr/kde/3.5/share' '--sysconfdir=/usr/kde/3.5/etc' '--enable-libsuffix=64'
ebuild.sh, line 539: Called die
!!! econf failed
!!! If you need support, post the topmost build error, and the call stack if relevant.