Building Qt WebKit with media support
My goal is to enable navigator.getUserMedia in Qt WebKit.
I tried building Qt-WebKit (5.5 branch) with following options:
./Tools/Scripts/build-webkit --qt --media-stream --media-source --media-capture --video
Platforms tried: macx-clang, win32-g++
However, I get the following error:
Could NOT find IDL file for interface "MediaStream"
make: *** [sub-DerivedSources-pri-make_for_qmake] Error 2
make: *** [sub-Source-WebCore-WebCore-pro-qmake_all] Error 2
make: *** [incremental] Error 2
$ find . -name MediaStream.idl
Such file exists, probably the build system looks in another location.
Please help me solve this problem. Can I get more verbose build output?
@vissi Did you find any resolution to this?
guess it's not actual anymore, but having same issue with 5.6.0
to resolve it you can add following into your qtwebkit/Source/WebCore/DerivedSources.pri
### you might need some others idl from this folder too
and search for generateBindings.commands in same file and add "--include Modules/mediastream"