Cdat give preference qt4

Newer ubuntu's ship with qt5. We still need Qt4. until we switch to qt5, we should give preference to qt4 moc.