[webkit-dev] QtWebKit 2.2 Build on Windows with Audio/Video Support
Alexis Menard
alexis.menard at openbossa.org
Sun Oct 23 22:34:19 PDT 2011
Hi,
On Fri, Oct 21, 2011 at 5:21 PM, Dev D <dev.777.d at gmail.com> wrote:
> 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....
>
This is the wrong list we have a dedicated webkit-qt mailing list.
Short answer : you need qtmultimedia, therefore QtMobility.
> thanks in advance
> Dev D
--
Alexis Menard (darktears)
Software Engineer
INdT Recife Brazil
More information about the webkit-dev
mailing list