将"Qt5UiTools"的安装前缀添加到CMAKE_PREFIX_PATH

Add the installation prefix of "Qt5UiTools" to CMAKE_PREFIX_PATH

我使用的cmake版本是3.2.2,因为这是代码的要求 我正在尝试构建 MikTex source code,但在 Ubuntu 14.04 LTS 上遇到了我不知道的不同错误。 当我从源代码文件夹目录 运行 cmake -G "Unix Makefiles" 命令 "miktex-2.9-2015-12-22" 我得到以下错误:

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!

您丢失了一个包裹。 包含 'Qt5UiToolsConfig.cmake' 的包是 'qttools5-dev'