CMakeエラー「 'Qt5QuickControls2'で提供されたパッケージ構成ファイルが見つかりませんでした」

CMakeエラー「 'Qt5QuickControls2'で提供されたパッケージ構成ファイルが見つかりませんでした」

頑張るvvave Music Player ビルドDebian11/KDE での実行にcmake ..失敗し、次のエラーが発生します。

-- The CXX compiler identification is unknown
CMake Error at CMakeLists.txt:23 (project):
  No CMAKE_CXX_COMPILER could be found.

  Tell CMake where to find the compiler by setting either the environment
  variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path
  to the compiler, or to the compiler name if it is in the PATH.

実行すると、CXX="gcc" sudo cmake ..以下が返されます。

Installing in /usr/local. Run /home/username/vvave/build/prefix.sh to set the environment for vvave.
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 "Qt5QuickControls2"
  with any of the following names:

    Qt5QuickControls2Config.cmake
    qt5quickcontrols2-config.cmake

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

Ubuntuに必要なパッケージがインストールされていますが(リンクされた追加情報を参照)、パッケージもインストールさQt5QuickControls2れます。

ここに尋ねる理由のいくつかは次のとおりです。それでもvvaveのバグ/問題を報告できません。

ベストアンサー1

おすすめ記事