Difference between revisions of "User:Robin Cornelius/standalone qtwebkit"
Jump to navigation
Jump to search
(Created page with ' Instructions for building the qt/webkit media plugin using distribution (shared) qt4, instead of static qt4 that the default LL build uses. First of all you need to grab the la...') |
|||
Line 1: | Line 1: | ||
Instructions for building the qt/webkit media plugin using distribution (shared) qt4, instead of static qt4 that the default LL build uses. | Instructions for building the qt/webkit media plugin using distribution (shared) qt4, instead of static qt4 that the default LL build uses. | ||
First of all you need to grab the latest code for qt/webkit this is in a mecurial (hg) repository and if you install the mecurial tools for your distribution you can then fetch the code with | First of all you need to grab the latest code for qt/webkit this is in a mecurial (hg) repository and if you install the mecurial tools for your distribution you can then fetch the code with | ||
hg clone http://hg.secondlife.com/llqtwebkit/ | hg clone http://hg.secondlife.com/llqtwebkit/ | ||
To get this to build some minor changes are required | |||
diff -r d3b5f3a6f6c1 llembeddedbrowserwindow.cpp | |||
--- a/llembeddedbrowserwindow.cpp Mon Sep 21 14:26:31 2009 -0700 | |||
+++ b/llembeddedbrowserwindow.cpp Tue Nov 03 20:50:14 2009 +0000 | |||
@@ -68,7 +68,7 @@ | |||
#include <qdebug.h> | |||
#endif | |||
-#define WEBHISTORYPATCH | |||
+//#define WEBHISTORYPATCH | |||
LLEmbeddedBrowserWindow::LLEmbeddedBrowserWindow() | |||
{ | |||
@@ -627,7 +627,7 @@ | |||
// last visited time. | |||
d->mPage->history()->prependItem(QString::fromStdString(url), | |||
QString::fromAscii(""), | |||
- QDateTime::currentDateTime()); | |||
+ QDateTime::curreWEBHISTORYPATCHntDateTime()); | |||
#endif | |||
} |
Revision as of 13:00, 3 November 2009
Instructions for building the qt/webkit media plugin using distribution (shared) qt4, instead of static qt4 that the default LL build uses.
First of all you need to grab the latest code for qt/webkit this is in a mecurial (hg) repository and if you install the mecurial tools for your distribution you can then fetch the code with
hg clone http://hg.secondlife.com/llqtwebkit/
To get this to build some minor changes are required
diff -r d3b5f3a6f6c1 llembeddedbrowserwindow.cpp --- a/llembeddedbrowserwindow.cpp Mon Sep 21 14:26:31 2009 -0700 +++ b/llembeddedbrowserwindow.cpp Tue Nov 03 20:50:14 2009 +0000 @@ -68,7 +68,7 @@ #include <qdebug.h> #endif -#define WEBHISTORYPATCH +//#define WEBHISTORYPATCH LLEmbeddedBrowserWindow::LLEmbeddedBrowserWindow() { @@ -627,7 +627,7 @@ // last visited time. d->mPage->history()->prependItem(QString::fromStdString(url), QString::fromAscii(""), - QDateTime::currentDateTime()); + QDateTime::curreWEBHISTORYPATCHntDateTime()); #endif }