Building QtWebkit

1) sudo apt-get install bison flex libqt4-dev libqt4-opengl-dev libphonon-dev libicu-dev libsqlite3-dev libxext-dev libxrender-dev gperf libfontconfig1-dev libphonon-dev libpng12-dev libjpeg62-dev g++

2)PATH & QTDIR
set the QTDIR environment variable to Qt's installation path and make sure Qt's qmake is the first qmake in your PATH
 export QTDIR=/usr/local/Qt-5.1.0
 export PATH=$QTDIR/bin:$PATH

3)Issue in Terminal : qtwebkit/Tools/Scripts/build-webkit --qt
Or Creator : 1) Open webkit.pro
    2) Remove qmake & make build steps.
    3) Add custom step : qtwebkit/Tools/Scripts/build-webkit
                and arguments   : --qt
 
4)qtwebkit/Tools/Scripts/run-launcher --qt

5)To install : sudo make install from the release folder.


################################################
/Tools/Scripts/webkitdirs.pm
line 726     $libraryName = "Qt5WebKitWidgets";
################################################

Or Easier way : On terminal
1) Download qt open source
2) ./configure [options if any.. ie, ./configure -opensource -confirm-license -optimized-qmake -nomake tests -nomake examples]
3) make module-qtwebkit
4) sudo make install

No comments:

Post a Comment