forked from qt-creator/qt-creator
Amends 1c81a3b3e.
Change-Id: I4a1b0cae5bac5bd5801e1868420e9e23598c0c79
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Qt backend for litehtml
Provides
- A QPainter based rendering backend for the light-weight HTML/CSS rendering engine litehtml.
- A QWidget that uses the QPainter based backend and provides API for simply setting the HTML text and a base URL plus hook that are used for requesting referenced resources.
How to build
Build and install litehtml. It is recommended to build litehtml in release mode
cd litehtml
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX="$PWD/../install" -DCMAKE_BUILD_TYPE=Release -G Ninja ..
cmake --build .
cmake --install .
Add the litehtml installation path to the CMAKE_PREFIX_PATH when building the Qt backend