In Mandriva the build dependencies you need are installed with:
urpmi gcc-c++ make cmake libxml2-devel libbzip2_1-devel libclucene-devel \
liblrdf2-devel libmesagl1-devel subversion doxygen libdbus-devel \
libopenssl0.9.8-devel libalsa2-devel libgpgme-devel libboost-devel \
libxine-devel libungif-devel libcppunit-devel libxslt-devel \
libaspell-devel libxcb-devel patch libpng-devel libjpeg62-devel \
You may want to add some optional packages to enable compilation of additional features:
urpmi libusb-devel libbluez-devel OpenEXR-devel libxklavier-devel \
liblm_sensors3-devel libmysql-devel libxslt-proc mysql
If you're running a 64-bit environment you should install these packages with:
urpmi gcc-c++ make cmake lib64xml2-devel lib64bzip2_1-devel \
lib64clucene-devel lib64lrdf2-devel lib64mesagl1-devel \
subversion doxygen lib64dbus-1-devel lib64openssl0.9.8-devel \
lib64alsa2-devel lib64gpgme-devel lib64boost-devel lib64xine-devel \
lib64gift-devel lib64ungif4-devel lib64cppunit-devel lib64xslt-devel \
lib64aspell-devel lib64xcb-devel patch
And for additional features:
urpmi lib64usb-devel lib64bluez-devel lib64OpenEXR-devel lib64xklavier-devel \
Newer versions of Mandriva (from at least 2010.0) use lm_sensors4 instead of lm_sensors3. If urpmi reports that liblm_sensors3-devel or lib64lm_sensors3-devel does not exist, try respectively liblm_sensors4-devel or lib64lm_sensors4-devel.
If you prefer a graphical interface, select the packages listed above in the "Install Software" tool in Mandriva Linux Control Center.
This includes installation of CMake, DBus, so you can proceed to compiling qt.