[webkit-qt] [WEBKIT 2.3] Compile on windows with --media-stream with qt 4.8.2 msvc

Konstantin Tokarev annulen at yandex.ru
Fri Oct 4 06:33:32 PDT 2013



04.10.2013, 17:13, "arnaud le roy" <sdnetwork at gmail.com>:
> Le 04/10/2013 10:10, Konstantin Tokarev a écrit :
>
>>  04.10.2013, 12:05, "arnaud le roy" <sdnetwork at gmail.com>:
>>>  hello,
>>>
>>>  i try to compile the webkit 2.3 but i get some compilation error with
>>>  the media_stream options :
>>>
>>>  In file included from WebCore/bindings/js/JSEventTargetCustom.cpp:29:0:
>>>  generated/EventTargetHeaders.h:130:30: fatal error: LocalMediaStream.h:
>>>  No such file or directory
>>  This file is located in Source/WebCore/Modules/mediastream. Make sure it's
>>  present in include paths (you may need to fix .pro/.pri files to get it).
>>
>>  Please submit a patch if you succeed.
>
> thanks four your response,
>
> effectively a have add some includepath in webcore.pri :
>
>   $$SOURCE_DIR/Modules/websockets \
>   $$SOURCE_DIR/Modules/mediastream \
>
> But now i encountered an other problem :
>
> this file is not present :
>
> - JSMediaStreamEvent.h
> - JSMediaStreamTrackEvent.h
> - MediaSource.h
> - and maybe others ...

JSMediaStreamEvent.h and JSMediaStreamTrackEvent.h (and other files starting
with JS* you will be missing) should be generated from respective .idl files
(in this case, MediaStreamEvent.idl and MediaStreamTrackEvent.idl).

You need to add them to WebCore/DerivedSources.pri under condition

contains(DEFINES, ENABLE_XXX=1) {
IDL_BINDINGS += \
$$PWD/Modules/mediastream/MediaStreamEvent.idl
...
}

where ENABLE_XXX is ENABLE_MEDIA_STREAM or something like that (look at your
command line for respective -D flag). 


-- 
Regards,
Konstantin


More information about the webkit-qt mailing list