Score:2

How to Add the installation prefix of "Qt5QmlModels" to CMAKE_PREFIX_PATH

cn flag
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".
N0rbert avatar
zw flag
What is your Ubuntu version?
Parveen Jangra avatar
cn flag
its ubuntu 20.04
N0rbert avatar
zw flag
What is your final idea? Why do you need to compile an application which is packaged?
Parveen Jangra avatar
cn flag
i need to make some changes to the SDP for my project and hence need to compile and build the app
N0rbert avatar
zw flag
Then you can try to adapt a version which is supported by the libs inside 20.04 LTS - see https://packages.ubuntu.com/source/focal/linphone . If you want to walk this way, I'll update my answer.
Score:1
zw flag

For modern Ubuntu system (21.04 and newer) you have to install the corresponding package by

sudo apt-get install qtdeclarative5-dev

Also it should be noted that Linphone is packaged for Ubuntu, see search results at packages.ubuntu.com.

Parveen Jangra avatar
cn flag
it is already installed .. osboxes@osboxes:/usr/lib/x86_64-linux-gnu/cmake$ sudo apt-get install qtdeclarative5-dev Reading package lists... Done Building dependency tree Reading state information... Done qtdeclarative5-dev is already the newest version (5.12.8-0ubuntu1). 0 upgraded, 0 newly installed, 0 to remove and 21 not upgraded. osboxes@osboxes:/usr/lib/x86_64-linux-gnu/cmake$
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.