nobleo / rviz_satellite

Display internet satellite imagery in RViz
Apache License 2.0
530 stars 226 forks source link

Add missing build dependency #62

Closed Timple closed 4 years ago

Timple commented 4 years ago

To fix this error:

CMake Error at /home/noblean/ros/melodic/system/src/rviz_satellite/CMakeLists.txt:28 (find_package):
  By not providing "FindQt5.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "Qt5", but
  CMake did not find one.
  Could not find a package configuration file provided by "Qt5" with any of
  the following names:
    Qt5Config.cmake
    qt5-config.cmake
  Add the installation prefix of "Qt5" to CMAKE_PREFIX_PATH or set "Qt5_DIR"
  to a directory containing one of the above files.  If "Qt5" provides a
  separate development package or SDK, be sure it has been installed.
schra commented 4 years ago

You are right, Qt isn't listed as a dependency. Thanks for reporting that :)

Currently we are using either Qt4 or Qt5 depending on what Qt version Rviz needs. So it doesn't make sense to depend on Qt5 in the package.xml. I'll drop the support for Qt4 #64 and then we will be able to add Qt5 to the dependencies.