昨晚我尝试下载名为“Evan's debugger (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 位)
最佳答案
转到 synaptic 并安装 libqt5svg5 + libqt5svg5-dev + libqt5svg5-private-dev
关于linux - cmake 找不到 Qt5,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/40636333/