Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Trouble building Webkit with audio enabled
piezontm last edited by
I have successfully built Qt5 and I'm trying to build the webkit per the instructions provided on the site. However I have additionally added "--web-audio" to enable audio support. The command line is as follows:
perl Tools/Scripts/build-webkit --qt --qmake="$PWD/../qtbase/bin/qmake" --install-libs=./install --debug --makeargs="$MAKEFLAGS" --web-audio
I get compilation errors due to a missing header: JSOfflineAudioCompletionEvent.h in JSEventCustom.cpp
From my limited understanding this header file is auto-generated, but I could be wrong. In newer webkits the file is listed in /WebCore/GNUmakefile.list.am.
I get the same error if I try to build QtWebkit 2.2 with audio using Qt 4.8. I also get the same error when I try to build the trunk build from www.webkit.org using Qt 5.
Does anyone know how to build the webkit with audio? Is audio even supported? Any help would be much appreciated.