Difference between revisions of "LLQtWebKit"

From Second Life Wiki
Jump to navigation Jump to search
Line 1: Line 1:
== Introduction ==
== Introduction ==
LLQtWebKit is a static library that renders Web content into a memory buffer using code from a patched version of the Qt/WebKit project. It is currently used by the most recent version of the [https://wiki.secondlife.com/wiki/Media_Rendering_Plugin_Framework Media Plugin API] to render Web content in Second Life.
LLQtWebKit is a static library that renders Web content into a memory buffer using code from a patched version of the Qt/WebKit project. It is currently used by the most recent version of the [https://wiki.secondlife.com/wiki/Media_Rendering_Plugin_Framework Media Plugin API] to render Web content in Second Life.
== What's included? ==
As well as the source code and patch files required to build the library there are a number of test applications that are useful for testing. You can browse the code [http://hg.secondlife.com/llqtwebkit/src/tip/tests/ here]. Details of how to build them are included in the instructions below.
* '''qttestapp''' - A simple Qt based application that implements a simple Web browser using LLQtWebKit
* '''testgl''' - A simple GLUT based application that renders a single Web page using OpenGL
* '''ubrowser''' - A more complex application GLUT/GLUI based application that renders multiple Web pages on the surface of 3D geometry


== Browse the code ==
== Browse the code ==
Line 21: Line 14:
==== Linux ====
==== Linux ====
The Linux version of the build instructions (in the form of a README file) can be found [http://hg.secondlife.com/llqtwebkit/src/tip/README-linux.txt here].
The Linux version of the build instructions (in the form of a README file) can be found [http://hg.secondlife.com/llqtwebkit/src/tip/README-linux.txt here].
== Test applications ==
As well as the source code and patch files required to build the library there are a number of test applications that are useful for testing. You can browse the code [http://hg.secondlife.com/llqtwebkit/src/tip/tests/ here]. Details of how to build them are included in the instructions below.
* '''qttestapp''' - A simple Qt based application that implements a simple Web browser using LLQtWebKit
* '''testgl''' - A simple GLUT based application that renders a single Web page using OpenGL
* '''ubrowser''' - A more complex application GLUT/GLUI based application that renders multiple Web pages on the surface of 3D geometry


== Version numbers ==
== Version numbers ==

Revision as of 02:18, 2 September 2009

Introduction

LLQtWebKit is a static library that renders Web content into a memory buffer using code from a patched version of the Qt/WebKit project. It is currently used by the most recent version of the Media Plugin API to render Web content in Second Life.

Browse the code

The code for LLQtWebKit is stored in a Mercurial code repository. You can browse the code here using a Web browser.

Build instructions

Windows

The Windows version of the build instructions can be found here.

Mac OSX

The Mac OSX version of the build instructions can be found here.

Linux

The Linux version of the build instructions (in the form of a README file) can be found here.

Test applications

As well as the source code and patch files required to build the library there are a number of test applications that are useful for testing. You can browse the code here. Details of how to build them are included in the instructions below.

  • qttestapp - A simple Qt based application that implements a simple Web browser using LLQtWebKit
  • testgl - A simple GLUT based application that renders a single Web page using OpenGL
  • ubrowser - A more complex application GLUT/GLUI based application that renders multiple Web pages on the surface of 3D geometry

Version numbers

  • The version of Qt/WebKit used is: 4.5.2
  • The version of LLQtWebKit is 2.1
  • The user agent string reported by LLQtWebKit is "Mozilla/5.0 (Windows;U; Windows NT 5.1; en-US) AppleWebKit/527+ (KHTML, like Gecko, Safari/419.3)"

Previous Incarnations

  • LLMozLib2 - the initial version of a Web content rendering library for Second Life that used the Mozilla/Gecko rendering engine. This is now deprecated.
  • Qt WebKit - a poorly named version of the Web content rendering engine for Second Life that uses Qt/WebKit to render but retained the same method/class names from LLMozLib2. This is now deprecated.