Question: how to qmake in linux?
Answer: Preliminary tests. On some Linux distributions, qmake is not directly available, but qmake4 or qmake-qt4. ... 
Ubuntu. Run in a terminal: sudo apt-get install qt4-qmake sudo apt-get install libqt4-dev. ... 
Gentoo. Install Qt: emerge -av qt. ... 
Fedora. TODO: graphical presentation. ... 
open SUSE. TODO: graphical presentation.