Thanks for your work!
I have tried to build PhantomJS from Ariya master branch with next steps:
1. Download and install QT from http://download.qt.io/official_releases/online_installers/qt-unified-linux-x64-online.run
2. Clone webkit from https://github.com/annulen/webkit.git, switch to branch 5.6
3. Install dependences according to manual https://github.com/annulen/webkit/wiki/Building-QtWebKit-on-Linux: sudo apt-get install build-essential perl python ruby flex gperf bison cmake ninja-build libfontconfig1-dev libicu-dev libsqlite3-dev zlib1g-dev libpng12-dev libjpeg-dev libxslt1-dev libxml2-dev libhyphen-dev
4. Build qtwebkit with command: WEBKIT_OUTPUTDIR=`pwd`/build/qt Tools/Scripts/build-webkit --qt --release --cmakeargs="-DCMAKE_PREFIX_PATH=~/Qt/5.7/gcc_64/"5. Install qtwebkit: ninja install
6. Set QMAKEPATH
7. Clone phantomjs from https://github.com/ariya/phantomjs.git, switch to master branch
8. Run command: qmake && make
On step #8 was appeared an error:
webpage.cpp: In constructor ‘WebPage::WebPage(QObject*, const QUrl&)’:
webpage.cpp:369:28: error: ‘WebSecurityEnabled’ is not a member of ‘QWebSettings’
settings->setAttribute(QWebSettings::WebSecurityEnabled, phantomCfg->webSecurityEnabled());
After that building of phantomjs was aborted. How I can solve this problem? Thank you!
-rizal-