In order to build QtWebKit, we need to:
Windows: install:
Bison and Flex (make a copy of
win_flex.exe
and name itflex.exe
);gperf; and
Note: the GnuWin32 version of Flex is not suitable, hence we must use Win flex-bison instead.
There are additional dependencies (
ICU
,libjpeg
,libpng
,libxml2
,libxslt
,SQLite
andzlib
) that are automatically downloaded upon building QtWebKit. (The prebuilt version of those binaries originally comes from https://github.com/Vitallium/qtwebkit-libs-win/releases, to which we removed unneeded files.)Linux: run the following command from the terminal:
sudo apt install bison gperf libicu-dev libjpeg-dev libpng12-dev libsqlite3-dev libxml2-dev libxslt1-dev ruby zlib1g-dev
macOS: run the following command from the terminal (if needed, install Homebrew):
brew install jpeg libpng