Running CutyCapt + Qt on FreeBSD
- Install Qt 4 from /usr/ports/devel/qt4 (For FreeBSD 8.0, if you select the PostGreSQL in the configuration, make sure to disable Kerberos option)
- Install qmake from /usr/ports/devel/qmake4
- Install Xorg virtual framebuffer from /usr/ports/x11-servers/xorg-vfbserver
- Then compile CutyCapt. In the CutyCapt directory, run the command: “QMAKESPEC=freebsd-g++ qmake-qt4”. This will generate a makefile, type make to create the executable.
Xvfb :1 -screen 0 1024x768x24
On another terminal, do:
DISPLAY=:1 ./CutyCapt --url=http://www.itrinegy.com --out=example.png