[英]cmake doesn't find Qt5
昨晚我嘗試下載名為“Evan的調試器(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(見這張照片 )。 為什么cmake找不到Qt5?
(僅供參考:我使用的是ubuntu 64位)
轉到synaptic並安裝libqt5svg5 + libqt5svg5-dev + libqt5svg5-private-dev
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.