[webkit-dev] QtWebKit 2.2 Build on Windows with Audio/Video Support

Dev D dev.777.d at gmail.com
Fri Oct 21 13:21:19 PDT 2011


Hello Everyone,

I am trying to build QtWebkit 2.2 on windows using MSVC. I didn't find a set
of instructions for this particular scenario so, this is what i did

1. downloaded/installed active perl
2. downloaded/installed all the GNU tools
3. downloaded/installed windows platform SDK 6.1
4. downloaded/installed VC express 2008
5. Set all the evn variables
6. downloaded/installed Qt 4.7.4 libraries (MS based)
7. ran Tools/Scripts/build-webkit --qt --release
[the build was successful, but it doesnt have audio/video support] :(
HTML5Test.com gave 0,0 for audio, video

so i looked at the build-webkit switches and found --video (though by
default video is enabled)
so i did that

>build-webkit --qt --release --video

and now i run into this error

MediaPlayer.cpp
..\..\..\Source\WebCore\platform\graphics\MediaPlayer.cpp(196) : error
C2653: 'P
latformMediaEngineClassName' : is not a class or namespace name
..\..\..\Source\WebCore\platform\graphics\MediaPlayer.cpp(196) : error
C3861: 'r
egisterMediaEngine': identifier not found
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio
9.0\VC\BIN
\cl.EXE"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio
9.0\VC\BIN
\nmake.exe"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop.

Building results into: C:/myprojects/newqtwebkit/QtWebKit-2.2.0/WebKitBuild
Use of uninitialized value in print at
C:/myprojects/newqtwebkit/QtWebKit-2.2.0/
Tools/Scripts/webkitdirs.pm line 1229.
WEBKITOUTPUTDIR is set to:
WEBKITLIBRARIESDIR is set to:
C:\myprojects\newqtwebkit\QtWebKit-2.2.0\WebKitLib
raries\win
'Tools\Scripts\print-vse-failure-logs' is not recognized as an internal or
exter
nal command,
operable program or batch file.

I had something similar when i build this on Linux, i looked at the scripts
and found that
under Linux
if no gstreamer - no video support // i like it

but how do i resolve this in windows - i am kind of new to building webkit
on windows....


thanks in advance
Dev D
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20111021/604df31e/attachment.html>


More information about the webkit-dev mailing list