https://github.com/ariya/phantomjs/wiki/PhantomJS-2
$ sudo apt-get install qtbase5-dev
$ /usr/lib/x86_64-linux-gnu/qt5/bin/qmake -v
QMake version 3.0
Using Qt version 5.2.1 in /usr/lib/x86_64-linux-gnu
$ nice -n 20 ./build.sh --confirm --qt=system --qtwebkit=system
System architecture... (Linux 3.13.0-41-generic x86_64)
Building main PhantomJS application...
cd src/ && ( test -e Makefile.phantomjs || /usr/lib/x86_64-linux-gnu/qt5/bin/qmake /home/macbre/src/github/phantomjs/src/phantomjs.pro -o Makefile.phantomjs ) && make -f Makefile.phantomjs
Project ERROR: This program can only be compiled with Qt 5.3.x.
make: *** [sub-src-phantomjs-pro-make_first-ordered] Błąd 3