nitroshare / nitroshare-desktop

Network file transfer application for Windows, OS X, & Linux
http://nitroshare.net
MIT License
1.58k stars 225 forks source link

No Qt5SvgConfig.cmake during installation from source #209

Open banan314 opened 6 years ago

banan314 commented 6 years ago

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
silv3rm00n commented 5 years ago

sudo apt-get install qttools5-dev

wimmerX commented 4 years ago

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

WorthingL commented 2 years ago

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