Files
qt-creator/src/plugins/help/qlitehtml
Eike Ziller 62d16e437a Help: Add context menu to litehtml backend
Change-Id: I051984e360b41d17d32cff80fd1d4017fc81dae6
Reviewed-by: hjk <hjk@qt.io>
2019-09-10 12:56:51 +00:00
..

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