cmake找不到Qt5

时间:2016-11-16 15:47:05

标签: linux qt ubuntu cmake

昨晚我试图下载名为“Evan的调试器(edb)”的反汇编程序,它具有与Ollydbg类似的GUI(仅限Linux)。

我尝试使用终端通过终端构建它们:

sudo cmake ../edb_folder

../edb_folder是包含edb源代码的目录。

它给了我关于Qt5的以下错误:

-- Boost version: 1.58.0
-- Checking for module 'libgvc>=2.38.0'
-- 
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 "Qt5Svg" with any
of the following names:
Qt5SvgConfig.cmake
qt5svg-config.cmake
Add the installation prefix of "Qt5Svg" to CMAKE_PREFIX_PATH or set
"Qt5Svg_DIR" to a directory containing one of the above files. If "Qt5Svg"
provides a separate development package or SDK, be sure it has been
installed.
Call Stack (most recent call first):
src/CMakeLists.txt:26 (find_package)
-- Configuring incomplete, errors occurred!
See also "/home/kanna/Desktop/build/CMakeFiles/CMakeOutput.log".

但我已经在我的系统上安装了Qt5(参见this picture)。为什么cmake找不到Qt5?

(仅供参考:我使用的是ubuntu 64位)

1 个答案:

答案 0 :(得分:3)

转到synaptic并安装libqt5svg5 + libqt5svg5-dev + libqt5svg5-private-dev