wiki:BuildingQtOnLinux

Version 2 (modified by ed@uping.com, 14 years ago) (diff)

Updating dependencies

Building the Qt port on Linux

These instructions apply to Ubuntu Linux 6.10 (Edgy Eft). T

Dependencies

The code should be easily built on any Linux distribution which has development packages for Qt installed.

The Qt port requires Qt version 4, and 4.2 is recommended. To install required dependencies on Ubuntu edgy, do

sudo aptitude install libqt4-dev

or install the libqt4-dev package from Synaptic.

You might also need to install gperf, libxslt1-dev, and bison to resolve some dependencies.

sudo aptitude install gperf libxslt-dev bison

You'll then need to check out the source code from Subversion. The Qt port is part of the WebKit source tree, so you don't need anything extra.

Finally, build WebKit and the Qt test browser with

QTDIR=/usr/share/qt4/ WebKit/WebKitTools/Scripts/build-webkit

Testing the port

A very simple test browser is built at WebKit/WebKitBuild/Release/WebKitQt/QtLauncher/QtLauncher.

Attachments (1)

Download all attachments as: .zip