changed the links from
/usr/share/qt3/bin/moc to /bin/moc
and
/usr/share/qt3/bin/uic to /bin/uic
using:
ln -s /path /path