This can be an annoying problem… In general, it’s more a reflection that the necessary bits of Qt aren’t all installed, or not configured properly, or there’s several versions hanging around and conflicting with each other. See this old post for some possible suggestions.
I’m guessing this is an Ubuntu 14.04 system? You’d need to look through your configure.log
file for hints as to what might be going wrong. Feel free to post it here if you need help (use the [code]
… [/code]
tags to keep things clean).