Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Add the installation prefix of "Qt5UiTools" to CMAKE_PREFIX_PATH

I am using cmake version 3.2.2, as it is the requirement of code I am trying to build MikTex source code but am getting different errors that i don't know about on Ubuntu 14.04 LTS. When i run cmake -G "Unix Makefiles" command from the directory of source code folder "miktex-2.9-2015-12-22" i get following error:

CMake Error at /usr/lib/x86_64-linux-gnu/cmake/Qt5/Qt5Config.cmake:26 (find_package): Could not find a package configuration file provided by "Qt5UiTools" with any of the following names:

Qt5UiToolsConfig.cmake
qt5uitools-config.cmake

Add the installation prefix of "Qt5UiTools" to CMAKE_PREFIX_PATH or set "Qt5UiTools_DIR" to a directory containing one of the above files. If "Qt5UiTools" provides a separate development package or SDK, be sure it has been installed. Call Stack (most recent call first): CMakeLists.txt:466 (find_package)

-- Configuring incomplete, errors occurred!

like image 498
Nomiluks Avatar asked Jan 04 '16 10:01

Nomiluks


1 Answers

You are missing a package. The package containing 'Qt5UiToolsConfig.cmake' is 'qttools5-dev'

like image 52
David Marquant Avatar answered Sep 23 '22 01:09

David Marquant