【问题标题】:cmake doesn't find Qt5cmake 找不到 Qt5
【发布时间】:2016-11-16 15:47:04
【问题描述】:

昨晚我尝试下载名为“Evan's debugger (edb)”的反汇编程序,它的 GUI 与 Ollydbg 相似(仅限 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(请参阅 this picture)。为什么cmake找不到Qt5?

(仅供参考:我使用的是 ubuntu 64 位)

【问题讨论】:

    标签: linux qt ubuntu cmake


    【解决方案1】:

    转到突触并安装 libqt5svg5 + libqt5svg5-dev + libqt5svg5-private-dev

    【讨论】:

      猜你喜欢
      • 2018-05-18
      • 2020-04-10
      • 1970-01-01
      • 2013-03-16
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多