Qmake: could not find a Qt installation of ''
For a software I have in ubuntu, I have to run qmake to generate the Makefile.
However, running qmake gives back this error,
qmake: could not find a Qt installation of ''
How to solve it
Looks like you calling qmake from wrong path.
If you have installed Qt from Ubuntu repository then check that you calling correct version of qmake. I think qmake has different prefix for Qt4 and Qt5.
If you trying to use Qt from qt-project.org then try to run qmake with full path
I installed Qt 5 from the run online installer file .
Try to run qmake with full path from Qt installation.