tce-load -i compiletc cmake qt-5.x-dev hunspell-dev poppler06-dev poppler06-qt5 lua-5.3-dev cd texworks-release-0.6.2 mkdir build cd build cmake -LAH -DCMAKE_C_FLAGS_RELEASE="-flto -fuse-linker-plugin -mtune=generic -Os -pipe" -DCMAKE_CXX_FLAGS_RELEASE="-flto -fuse-linker-plugin -mtune=generic -Os -pipe -fno-exceptions -fno-rtti" -DCMAKE_INSTALL_PREFIX=/usr/local -DCMAKE_BUILD_TYPE=release -DPOPPLER_QT_INCLUDE_DIR="/usr/local/include/poppler/qt5" -DQTPDF_VIEWER=ON -DCMAKE_VERBOSE_MAKEFILE=TRUE ../ make [2m 2.06s] make install QtPDF has been configured: Version: 0.1 Qt version: 5.11.2 Compiler optimization: release Poppler-Qt backend: yes MuPDF backend: no Shared library: no Viewer application: yes QtPDF will be installed to: /usr/local TeXworks has been configured: Version: 0.6.2 Git Commit: 7ecce17d (2017-04-29 18:23:51 +0200) Build ID: personal Qt version: 5.11.2 Compiler optimization: release Lua scripting plugin: yes Python scripting plugin: no TeXworks will be installed to: /usr/local -- Configuring done