大佬教程收集整理的这篇文章主要介绍了linux – 找不到“Qt5Svg”提供的包配置文件,大佬教程大佬觉得挺不错的,现在分享给大家,也给大家做个参考。
我尝试使用安装一些反汇编程序
$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都存在.
那为什么它仍然给我一个错误?
解决方法:
我做了两件事来解决这个问题.首先安装所有qt dev库只需在synaptic中搜索或尝试安装所有这些.
sudo apt-get install git build-essential cmake qt5-default qtscript5-dev libssl-dev qttools5-dev qttools5-dev-tools qtmultimedia5-dev libqt5svg5-dev libqt5webkit5-dev libsdl2-dev libasound2 libxmu-dev libxi-dev freeglut3-dev libasound2-dev libjack-jackd2-dev libxrandr-dev libqt5xmlpatterns5-dev libqt5xmlpatterns5 libqt5xmlpatterns5-private-dev
之后,请确保以这种方式克隆项目.它还说在README中.
git clone –recursive https://github.com/eteran/edb-debugger.git
它在此之后起作用.
以上是大佬教程为你收集整理的linux – 找不到“Qt5Svg”提供的包配置文件全部内容,希望文章能够帮你解决linux – 找不到“Qt5Svg”提供的包配置文件所遇到的程序开发问题。
如果觉得大佬教程网站内容还不错,欢迎将大佬教程推荐给程序员好友。
本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。