Install libqtexengine-dev by entering the following commands in the terminal:
sudo apt update sudo apt install libqtexengine-dev
Development files for the QTeXEngine library
QTeXEngine enables Qt based applications to easily export graphics created using the QPainter class to TeX. It is built on top of QPaintEngine and uses the TikZ/Pgf graphic systems for TeX. . This package contains the development and header files for the QTeXEngine library.