cmake not working, could not exec qmake

Alexandre Holden Daly picture Alexandre Holden Daly · May 16, 2014 · Viewed 64.2k times · Source

I am using Ubuntu 14.04. I'm trying to install a program which requires cmake. When I run cmake src/ I get:

qmake: could not exec '/usr/lib/x86_64-linux-gnu/qt4/bin/qmake': No such file or directory

What am I doing wrong?

Answer

Steve K picture Steve K · Jun 1, 2015

Does the trick:

sudo apt-get install qt4-qmake

You do not need to install half a gigabyte of qt sdk!