nitroshare-desktop icon indicating copy to clipboard operation
nitroshare-desktop copied to clipboard

No Qt5SvgConfig.cmake during installation from source

Open camilajenny opened this issue 6 years ago • 3 comments

Following instructions from https://github.com/nitroshare/nitroshare-desktop/wiki/Building-on-Linux, on command:

cmake ..

I got the following message:

CMake Error at CMakeLists.txt:25 (find_package):
  By not providing "FindQt5Svg.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "Qt5Svg", but
  CMake did not find one.

  Could not find a package configuration file provided by "Qt5Svg" (requested
  version 5.1) 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.


-- Configuring incomplete, errors occurred!

The following probably solves the issue on Ubuntu 18.04:

sudo apt install libqt5svg5-dev

camilajenny avatar Jul 30 '18 06:07 camilajenny

sudo apt-get install qttools5-dev

silv3rm00n avatar Feb 01 '19 05:02 silv3rm00n

Find a method https://stackoverflow.com/a/56360244 apt install libqt5svg5-dev .You can review it.

wimmerX avatar Jun 04 '20 09:06 wimmerX

What about for windows 10? I've the same issue.

WorthingL avatar Sep 11 '22 04:09 WorthingL