| | 1 | [[PageOutline]] |
| | 2 | |
| | 3 | = Building the Qt port on Linux = |
| | 4 | |
| | 5 | These instructions apply to Ubuntu Linux 6.10 (Edgy Eft). |
| | 6 | |
| | 7 | == Dependencies == |
| | 8 | |
| | 9 | The code should be easily built on any Linux distribution which has development packages for Qt installed. |
| | 10 | |
| | 11 | The Qt port requires Qt version 4, and 4.2 is recommended. To install required dependencies on Ubuntu edgy, do |
| | 12 | |
| | 13 | {{{ |
| | 14 | sudo aptitude install libqt4-dev |
| | 15 | }}} |
| | 16 | |
| | 17 | or install the libqt4-dev package from Synaptic. |
| | 18 | |
| | 19 | You'll then need to [http://webkit.org/building/checkout.html check out the source code from Subversion]. The Qt port is part of the WebKit source tree, so you don't need anything extra. |
| | 20 | |
| | 21 | Finally, build WebKit and the Qt test browser with |
| | 22 | |
| | 23 | {{{ |
| | 24 | QTDIR=/usr/share/qt4/ WebKit/WebKitTools/Scripts/build-webkit |
| | 25 | }}} |
| | 26 | |
| | 27 | |
| | 28 | == Testing the port == |
| | 29 | |
| | 30 | A very simple test browser is built at WebKit/WebKitBuild/Release/WebKitQt/QtLauncher/QtLauncher. |
| | 31 | |