This site has been retired. For up to date information, see handbook.gnome.org or gitlab.gnome.org.


[Home] [TitleIndex] [WordIndex

Introduction to WebKit2GTK+ Development

Prerequisites

This document assumes you have a good working knowledge of:

WebKit itself is written in C++, so if you plan to work with the system's internals, knowledge of that language is also important.

If you plan to write code that interacts with the content of web pages, you should also be familiar with the HTML Document Object Model, or DOM.

Installation

Pre-Built

WebKit2GTK+ is available as an installable developer package for most major Linux distributions. This is the best option if you are just beginning to work with WebKit, or if you are not experienced with build systems that have complex dependencies.

From Source Code

If you prefer to build WebKit2GTK+ yourself, you will need to:

  1. Obtain the sources: http://webkitgtk.org/?page=download

  2. Build them: http://webkitgtk.org/?page=contribute

Depending on how you obtain your sources, when you do the build you may need to use configure in place of autogen.sh. You may also need to build or install other development packages that WebKitGTK+ depends on; the WebKit2GTK+ build will notify you if any required packages are missing.

Building WebKit2GTK+ can take a very long time, especially since some parts of it cannot be built in parallel.


Top Next


2024-10-23 11:37