OtterBrowser / otter-browser

Otter Browser aims to recreate the best aspects of the classic Opera (12.x) UI using Qt5
https://otter-browser.org
GNU General Public License v3.0
1.83k stars 277 forks source link

CMake could not find a package configuration file provided by "Qt5Multimedia" #1733

Closed antono2 closed 2 years ago

antono2 commented 2 years ago

Hi all, maybe rewrite it in Rust

cmake ../
  CMake Error at /usr/lib/x86_64-linux-gnu/cmake/Qt5/Qt5Config.cmake:28 (find_package):
  Could not find a package configuration file provided by "Qt5Multimedia"
  with any of the following names:

   Qt5MultimediaConfig.cmake
   qt5multimedia-config.cmake

  Add the installation prefix of "Qt5Multimedia" to CMAKE_PREFIX_PATH or set
  "Qt5Multimedia_DIR" to a directory containing one of the above files.  If
  "Qt5Multimedia" provides a separate development package or SDK, be sure it
  has been installed.
  Call Stack (most recent call first):
  CMakeLists.txt:77 (find_package)

  -- Configuring incomplete, errors occurred!

apt search Qt5Multimedia

Sorting... Done
Full Text Search... Done
libqt5multimedia5/focal,now 5.12.8-0ubuntu1 amd64 [installed]
  Qt 5 Multimedia module

libqt5multimedia5-plugins/focal,now 5.12.8-0ubuntu1 amd64 [installed]
  Qt 5 Multimedia module plugins

libqt5multimediagsttools5/focal,now 5.12.8-0ubuntu1 amd64 [installed]
  GStreamer tools for  Qt 5 Multimedia module

libqt5multimediaquick5/focal,now 5.12.8-0ubuntu1 amd64 [installed]
  Qt 5 Multimedia Quick module

libqt5multimediawidgets5/focal,now 5.12.8-0ubuntu1 amd64 [installed]
  Qt 5 Multimedia Widgets module

If you read to here, just to confirm, yes, rewrite it in Rust is a joke.

Emdek commented 2 years ago

@antono2, in Debian / Ubuntu they call it qtmultimedia5-dev, quite inconsistent naming comparing to others…