Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Could not find a package configuration file provided by "Qt5Svg"

Tags:

linux

ubuntu

qt5

I tried to install some disassembler using

$sudo cmake ../edb-debugger-master  

but it's giving me an following error

-- 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".

If you take a look at this picture, you can see both Qt5 (dependency for this software) and Qt5SvgConfig.cmake are present.

enter image description here

Then why is it still giving me an error?

like image 655
James Park Avatar asked Nov 19 '16 03:11

James Park


1 Answers

It has been solved on my side with:

sudo apt install libqt5svg5-dev
like image 122
mmerle Avatar answered Sep 25 '22 03:09

mmerle