Fix: run qmake only with pro file available

Signed-off-by: Miroslav Safr <Miroslav.Safr@gmail.com>