[webkit-qt] Building QtWebkit with WebGL support on Windows XP with MSVC2008 and Qt4.8.4

Richard Gerd Kuesters richard at humantech.com.br
Fri Aug 9 09:47:48 PDT 2013

Hi Max,

Sorry I couldn't explain myself better.

PITA = Pain in the A**. Basically.

Yes, you can compile Qt under Windows in 64 bits but, prior to Qt 5.1 
you'll not be able to use JavaScriptCore in 64 bit mode. HTML, CSS, yes. 
JS? No. That's why I basically ported my apps to 5.1 :) Even Chrome's V8 
isn't 64 bits under Windows. There's no point for developers to use 64 
bit JavaScript since, I don't know why, benchmarks are slower then 64 
bits. I guess that's promoted by the Infinite Improbability Drive.

In the qt-project downloads area, if you download Qt 5.1 in zip and 
tar.gz formats and apply a diff, you'll see there's something there. 
That allow us to compile Qt 5.1 under Windows with MSVC 2008 :) The ZIP 
package, of course, without too much pain.

The ICU is a library which WebKit from the Qt source requires to build. 
I don't know if it is necessary under Qt 4.8.

As you described:

 > - A QtWebkit library with WebGL support

Sorry, can't help with that.

 > - Compatible with maximum Qt 4.8, so under 5, because of Q3-classes 

Ok, stick to Qt 4.8.

>- Both Qt and QtWebkit should be in 32 Bit, because we still using some 
external 32Bit libs

Then you're safe from the "64 bit JavaScript dilemma".

>- And all build with MSVC 2008

Already possible.

I guess your problem is just with WebGL :)

But, about this, I can't assume what's your error. Did you managed to 
succeed in other Windows versions, like 7?

A quick look into the sources of Qt 4.8.4 and Qt 5.1 shows that WebGL 
depends on the WTF library. This library, in Qt 4.8, is located inside 
JavaScriptCore and, in Qt 5.1, it lives alongside WebKit, WebKit2 and 
JavaScriptCore. I think someone can help you better with this, or ask 
for help in Qt forums.

Best regards,

On 08/09/2013 12:11 PM, Maxim Schäfner wrote:
> Hi,
> the problem is, that we are able to build Qt 4.8.4 without problems 
> with MSVC2008
> on WindowsXP. What do you mean that there is no Javascript support in 
> 64 Bit until
> Qt 5.1 and why then are builds in 32 and 64 Bit possible?
> And yes, for Qt there was an ZIP and TAR archive of the sources 
> available for
> download (from qt-project page). The Qt we built was from the TAR 
> archive, but there were no problems
> on this building.
> For QtWebkit there was only a source TAR archive available which was 
> an snapshot
> from a source git repository, which should be able to enable WebGL on 
> it, as described
> on this site:
> http://blogs.kde.org/2013/03/15/qtwebkit-230-out
> and the source (linked on that site, too) was: 
> https://gitorious.org/webkit/qtwebkit-23/trees/HEAD
> . So there was no ZIP archive available.
> And what with this 'compile ICU', do you mean in Webkit or Qt build?
> Additionally what do you mean with 'PITA' do meant 'PITY' maybe, than 
> it make sense to us :)
> Basically what we want is:
> - A QtWebkit library with WebGL support
>         - Compatible with maximum Qt 4.8, so under 5, because of 
> Q3-classes compatibility
> - Both Qt and QtWebkit should be in 32 Bit, because we still using 
> some external 32Bit libs
> - And all build with MSVC 2008
> So, no needed 64 Bit support.
> What we have is build the Qt4.8.4 with MSVC 2008 already in 32bit.
> And now we are at the process at building the Webkit sources (2.3) 
> with MSCV 2008
> in 32 bit, but we are running into compile errors at this step.
> Thanks.
> Best regards,
> Max
> _______________________________________________
> webkit-qt mailing list
> webkit-qt at lists.webkit.org
> https://lists.webkit.org/mailman/listinfo/webkit-qt

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-qt/attachments/20130809/ba4f66ff/attachment.html>

More information about the webkit-qt mailing list