I'm trying to install KLatexFormula and it's cmake script is giving the error that it cant find the package config files Qt5DesignerConfig.cmake and qt5designer-config.cmake.
Cmake asked me to add the prefix of Qt5Designer to CMAKE_PREFIX_PATH. I found the path to Qt5Designer with a quick
apt-files search Qt5Designer
The file I was looking for showed up under the path
/usr/lib/x86_64-linux-gnu/cmake/Qt5Designer/Qt5DesignerConfig.cmake
under qttools5-dev package. I believe this is the correct spot, so I added the prefix path with
export QT_CMAKE_PREFIX_PATH="/usr/lib/x86_64-linux-gnu/cmake"
and the path shows up if I check the command
export
However, building the cmake file again gave me the same missing packages. In the process of trying to work out what was wrong I went
cd /usr/lib/x86_64-linux-gnu/cmake
At this point I saw that there was no Qt5Designer entry in this folder. My qttools5-dev is completely up to date. Anyone know how I can fix it?
And I have tried this already and get the same search results as that answer.
sudo apt-get install qttools5-dev-tools
.... ← askubuntu.com/questions/651461/where-is-qt5-designer