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 "Qt5QmlModels" with
any of the following names:
Qt5QmlModelsConfig.cmake
qt5qmlmodels-config.cmake
Add the installation prefix of "Qt5QmlModels" to CMAKE_PREFIX_PATH or set
"Qt5QmlModels_DIR" to a directory containing one of the above files. If
"Qt5QmlModels" provides a separate development package or SDK, be sure it
has been installed.
Call Stack (most recent call first):
CMakeLists.txt:621 (find_package)
-- Configuring incomplete, errors occurred!
See also "/home/Parveen_Linphone/linphone-sdk/build/WORK/desktop/Build/ms2/CMakeFiles/CMakeOutput.log".发布于 2021-11-12 10:14:11
对于现代Ubuntu系统(21.04及更高版本),您必须通过以下方式安装对应包
sudo apt-get install qtdeclarative5-dev还应该注意,Linphone是为Ubuntu打包的,请参阅packages.ubuntu.com搜索结果。
https://askubuntu.com/questions/1375064
复制相似问题