qmake: could not find a Qt installation of ''

Curious picture Curious · May 17, 2013 · Viewed 205.6k times · Source

I have a software in ubuntu that requires me to run qmake to generate the Makefile.

However, running qmake gives back this error,

qmake: could not find a Qt installation of ''

I have installed what I thought to be the required packages using,

sudo apt-get install qt4-qmake
sudo apt-get install qt5-qmake

But the error didn't go away.

Any help on this would be gladly appreciated!

Answer

ptmono picture ptmono · Sep 15, 2013

sudo apt-get install qt5-default works for me.

$ aptitude show qt5-default