linux - 找不到 "Qt5Svg"提供的包配置文件

标签 linux ubuntu qt5

我尝试使用

安装一些反汇编程序
$sudo cmake ../edb-debugger-master  

但它给了我以下错误

-- 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(此软件的依赖项)和 Qt5SvgConfig.cmake 都存在。

enter image description here

那为什么还是报错呢?

最佳答案

我这边已经解决了:

sudo apt install libqt5svg5-dev

关于linux - 找不到 "Qt5Svg"提供的包配置文件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/40688812/

相关文章:

c++ - 从 qjsonarray 中删除大括号并从文档中替换方括号

linux - 如何在 Ubuntu 上授予英特尔实感摄像头的权限

linux - Monit 守护程序 - 连接到 monit 守护程序时出错

c++ - 具有动态设施的 syslog-daemon 或每个软件自己的记录器?

ubuntu - linux-kernel 如何读取 proc/pid 文件?

qt - QML:如何为所有菜单添加阴影?

c - 关于c中的函数重载

在 64 位 Ubuntu 16.04 上运行 RNetLogo 时出现 java.lang.NoClassDefFoundError 错误 - 但问题是 rJava 还是 NetLogo?

python - 无法在终端中使用 sort 命令对 txt 文件中的数据进行排序

python - 当没有必要时,为什么要在 PyQt 中导入 QtGui 和 QtCore?