2016-11-16 144 views
1

昨晚我試着下載名爲「Evan's debugger(edb)」的反彙編器,它具有與Ollydbg類似的GUI(僅限於Linux)。cmake沒有找到Qt5

我試圖經由終端構建它們使用:

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?

(FYI:我使用Ubuntu 64位)

回答

3

去突觸和安裝libqt5svg5 + libqt5svg5-dev的+ libqt5svg5-私人開發