In order to build QtWebKit, we need to:
Windows: install:
- Perl 5.22;
- Python 2.7;
- Ruby >= 1.9;
- Bison and Flex (make a copy of
win_flex.exe
and name itflex.exe
); - gperf; and
ICU (get v57.1 and uncompress it to
C:\icu
).Note: the GnuWin32 version of Flex is not suitable, hence we must use Win flex-bison instead.
and make sure that Qt's source code is also installed (so that we can get access to SQLite's source code).
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 mesa-common-dev ruby zlib1g-dev
Note: ICU also gets built from source (after having made sure that we got the version used by Qt;
find /opt/Qt -name *icu*
).macOS: run the following command from the terminal (if needed, install Homebrew):
brew install jpeg libpng