tce-load -i compiletc cmake qt-4.x-dev hunspell-dev poppler-dev qt-4.x-poppler-dev lua5.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/qt4" -DQTPDF_VIEWER=ON -DCMAKE_VERBOSE_MAKEFILE=TRUE ../ make make install QtPDF has been configured: Version: 0.1 Qt version: 4.8.6 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: 4.8.6 Compiler optimization: release Lua scripting plugin: yes Python scripting plugin: no TeXworks will be installed to: /usr/local