After successful installation it gave me the error
QPainter::begin: Paint device returned engine == 0, type: 3
After some searching i found out that that error means that QImage::__construct is failing.
The constructor is failing because i am behind a proxy and CutyCapt did not find any content to create an image
./CutyCapt --url=http://www.google.org --out=example.png --http-proxy=http://144.16.192.245:8080
worked finally