For Qt 4.6.2 (or perhaps other 4.6 versions as well)...
To save you some time, here are the errors which need fixing in order to build webkit (this is to expand upon Ben's answer).
The errors appear in the following files (the two files are identical, and the errors need to be fixed in each):
- %QTDIR%\qt\src\3rdparty\webkit\javascriptcore\runtime\StructureTransitionTable.h
- %QTDIR%\qt\src\3rdparty\javascriptcore\JavaScriptCore\runtime\StructureTransitionTable.h
Here are the errors and how to fix them:
- %QTDIR%\qt\src\3rdparty\webkit\javascriptcore\runtime\StructureTransitionTable.h(146)
:
table()->add(key, Transition(structure, 0));
Change it to table()->add(key, Transition(structure, nullptr));
- %QTDIR%\qt\src\3rdparty\webkit\javascriptcore\runtime\StructureTransitionTable.h(153)
:
table()->add(key, Transition(0, structure));
Change it to table()->add(key, Transition(nullptr,
structure));
- Make the same two changes for
%QTDIR%\qt\src\3rdparty\javascriptcore\JavaScriptCore\runtime\StructureTransitionTable.h (or copy your edited file over this one)