Fabien R | 26 May 16:12 2015

build error of qtwebkit on debian


I'm trying to build qtwebkit for Qt 5.4.1 from gitorious on debian/wheezy.
The command I use is:
qtwebkit/Tools/Scripts/build-webkit --debug --qt --qmake=qmake-qt5 

The compilation ends with these warnings and error:
QtWebKit: created headers.pri file
QtWebKit: WARNING: /work/qt5/qtwebkit/Source/JavaScriptCore/config.h 
does not include QT_BEGIN_NAMESPACE
QtWebKit: WARNING: /work/qt5/qtwebkit/Source/WTF/config.h does not 
QtWebKit: WARNING: /work/qt5/qtwebkit/Source/WebCore/config.h does not 
QtWebKit: WARNING: /work/qt5/qtwebkit/Source/WebKit2/config.h does not 

does not include QT_BEGIN_NAMESPACE
does not include QT_BEGIN_NAMESPACE
does not include QT_BEGIN_NAMESPACE
(Continue reading)

Ilija Boshkov | 19 Mar 12:38 2015

WebKit More than 2 embedded youtube videos result in WtfCrash

Has anyone else encountered this/any ideas how to fix it ?

Details and reproduction code:
webkit-qt mailing list
webkit-qt <at> lists.webkit.org
Rajiv | 1 Feb 20:49 2015

qt4.8.3 not building on HP-UX i64

Hi all,

While Building the Qt 4.8.3 from source code on HP-UX itanium 64 platform I am getting through without any errors but i didn't see the librarires of qtwebkit after the build process. I have configured -webkit in configure correctly.
Building with hpuxi-acc-64 mkspecs. Using qt-everywhere-commercial-src-4.8.3.
Can someone help me with the above situation.

webkit-qt mailing list
webkit-qt <at> lists.webkit.org
Bobby Philip | 31 Jan 08:26 2015

Unknown modules in QT webkitwidgets

 I have cross-compiled QT from source. I built it using the commands make module-qtwebkit && make module-qtwebkit-install_subtargets
My output folder has libQTWebkit and libQTWebkitWidgets libraries

My test application's .pro file has the line QT += sql gui widgets webkitwidgets
On running qmake for this test application, I see the Unknown module(s) in QT: webkitwidgets error message. It compiles fine if I dont use modules from webkit

I would like to know how to fix this, is there a path where my libraries has to be to get included?

webkit-qt mailing list
webkit-qt <at> lists.webkit.org
Bobby Philip | 3 Dec 17:05 2014

Building qtwebkit for mips

 I have successfully built qtwebkit from the qt5.3 source tarball for a mips based platform.
I see that the qtwebkit shared library size is around 600MB, which is an order of magnitude higher than what I remember for qt4.8
Is this an expected size? Is is possible to configure it so that I can reduce the size, by maybe removing unwanted modules?

webkit-qt mailing list
webkit-qt <at> lists.webkit.org
Florian Bruhin | 16 Nov 23:24 2014

Handling downloads with QtWebKit


I'm searching for some howto or example on how to handle downloads
with QtWebkit correctly, especially the unsupportedContent signal.

My main problem is what to do with the open QNetworkReply while asking
the user for a filename to save the file to. I've looked into some
existing projects using QtWebKit and I've seen these approaches so

- Just downloading to RAM (i.e. the default Qt behaviour, ignoring
  readRead with no buffer size set) -> RAM could fill up rather fast.
  I have a 250 MBit connection here, so potentially a gigabyte of RAM
  is filled if I take 30 seconds to enter a filename.

- Not downloading anything until the filename is entered -> server
  will probably close the connection after some seconds.

- Just re-doing the request using the URL from the reply -> Could lead
  to a lot of problems, e.g. with DRM-like "you may download this file
  N times" sites.

- Downloading to a temporary file until the user has entered the
  filename, then copying it over and deleting the temporary file.

The last approach seems to be the cleanest to me, and this seems to be
what Firefox/Chrome do as well. I've seen the Otter browser[1] doing
this, but not anything else yet.

Am I on the right track? Is there some documentation about how to do
this the right way anywhere?



[1] http://otter-browser.org/


http://www.the-compiler.org | me <at> the-compiler.org (Mail/XMPP)
             GPG 0xFD55A072 | http://the-compiler.org/pubkey.asc
         I love long mails! | http://email.is-not-s.ms/
webkit-qt mailing list
webkit-qt <at> lists.webkit.org
Jorge Fernandez Monteagudo | 9 Nov 10:25 2014

WebGL rendering offscreen

Hi all!

This is my first message in this list. Maybe this question has been asked before several times
but I've not been able to find a link with an answer, then I go to the source :)

I'm trying to embed a WebGL page render in my OpenGL application. I've develop a little test case
using Qt 5.3.2, when I'm able to show a static html page rendered in a OpenGL texture in a QGLWidget.
This texture comes from a QGLFramebufferObject. I use the QWebPage 'repaintRequested' signal to
do the FBO generation. This is the code:

QGLFramebufferObject *mp_fbo;
QWebPage *mp_Page;
QPainter m_Painter;

void TGSWebNavigator::onRepaintRequested(const QRect& _rect)
        // Paint the view in the FBO.
        m_Painter.begin( mp_fbo );
        mp_Page->mainFrame()->render( &m_Painter, _rect );

        // Repaint QGLWidget with the new FBO.

If I try to do the same with an URL pointing to a WebGL I get OpenGL errors. The problem I think is related
to OpenGL contexts because the OpenGL widget has his own context and the WebGL rendering is done
is another one. In a static html page no new context is created when rendering is done. I've set several
traces to show the current context:

        qDebug() << "[TGSWebNavigator] onRepaintRequested 1... ctx" << QGLContext::currentContext();
        m_Painter.begin( mp_fbo );
        qDebug() << "[TGSWebNavigator] onRepaintRequested 2... ctx" << QGLContext::currentContext();
        mp_Page->mainFrame()->render( &m_Painter, _rect );
        qDebug() << "[TGSWebNavigator] onRepaintRequested 3... ctx" << QGLContext::currentContext();
        qDebug() << "[TGSWebNavigator] onRepaintRequested 4... ctx" << QGLContext::currentContext();

When I start seeing different context in trace 2 and 3, the OpenGL errors begins.

I've tried using 'QGLPixelBuffer' because you can set a shared widget which you want to share textures
(my QGLWidget) with no luck. The only solution comes from replace the FBO with a QImage, render
on it and finally change the texture I use in the QGLWidget with the contents from the QImage but this
it's not an option, the perfomance is very affected.

Then my question is: are there any options? Can I set the context where the WebGL rendering is done?
Or, at least make it share with a given context? Maybe I'm totally wrong and there is other ways to do
what I'm trying to do... Any comment, link, info is welcome!

Best regards,

Este mensaje se dirige exclusivamente a su destinatario y puede contener información privilegiada o
CONFIDENCIAL. Si no es vd. el destinatario indicado, queda notificado de que la utilización,
divulgación y/o copia sin autorización está prohibida en virtud de la legislación vigente. Si ha
recibido este mensaje por error, le rogamos que nos lo comunique inmediatamente por esta misma vía y
proceda a su destrucción.

This message is intended exclusively for its addressee and may contain information that is CONFIDENTIAL
and protected by professional privilege.
If you are not the intended recipient you are hereby notified that any dissemination, copy or disclosure of
this communication is strictly prohibited by law. If this message has been received in error, please
immediately notify us via e-mail and delete it.
webkit-qt mailing list
webkit-qt <at> lists.webkit.org
Emanuel Koczwara | 14 Oct 22:45 2014



   Video from vimeo doesn't work on windows and linux. Qt 5.3.2 from 
git. Any ideas? Should it work?

Andre Barth | 14 Oct 15:46 2014

Qt 5.2.1 / 5.3.2 with JIT_ENABLED=0: Assert / Crash in LLIntData.cpp; Windows 7 x64

Hi all,

I tried building QtWebkit with JIT_ENABLED=0 what enables LLINT.

For Qt 5.2.1 & 5.3.2, I'm running into this assert then

bitwise_cast<uint32_t*>(&testVector)[sizeof(void*)/sizeof(uint32_t) + 1] == 42

in \qt\qtwebkit\Source\JavaScriptCore\llint\LLIntData.cpp

Here's the memory layout I'm seeing:

0x000000000026e8e8 {m_size=42 }
    WTF::VectorBuffer<int,0>: {...}
    m_size: 42
0x000000000026e8f8 {42}
0x000000000026e8f0 {42}

And memory: (0x000000000026E8E8  is &testVector)
0x000000000026E8E8  | 06339100 00000000 0000002a cccccccc 0000002a cccccccc cccccccc

Where the assert reads out [0xcccccccc] at index 3.

Can this assert be "ignored" and/or would I have to define another build setting for LLINT? 

I asked that question on the qt-project already:
http://comments.gmane.org/gmane.comp.lib.qt.user/13631 and it was suggested to log a bug.
If it was, do you see any ways to fix that problem locally?

Emanuel Koczwara | 3 Oct 11:49 2014



   Silverlight doesn't work with Qt 4.8.6 and Qt 5.3.2 on linux (debian) 
and windows (7). It just doesn't work, or can I somehow force it to 
work? The same situation with videos from vimeo.

Allan Sandfeld Jensen | 25 Sep 15:26 2014

QtWebKit 2.3.4 released

Hi all

It has been more than a year since I tagged QtWebKit 2.3.3. I have recently 
tagged 2.3.4 and you can find the tarball graciously hosted by KDE at 

As always there are no new features, just bug-fixes and support for newer 
compilers, third party libraries, and more platforms. It can now also link 
build against gstreamer 1.0 instead of 0.10.

Best regards
`Allan Jensen