What package do I need to build a Qt 5 & CMake application?
Posted
by
Kevin Reid
on Ask Ubuntu
See other posts from Ask Ubuntu
or by Kevin Reid
Published on 2013-11-10T02:22:18Z
Indexed on
2013/11/10
4:13 UTC
Read the original article
Hit count: 388
I'm trying to build sdrangelove, which wants Qt 5 and uses CMake for its build system, on Ubuntu 13.10. What package do I need to install to give it the file it's asking for here?
There are a lot of *qt5*
packages, and I've tried installing the promising looking ones to no effect. All the discussions I've found either have things working fine or are talking about writing CMake build rules rather than executing them. I don't have a lot of experience with the organization of Debian/Ubuntu packaging.
CMake Error at CMakeLists.txt:14 (find_package):
By not providing "FindQt5Core.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "Qt5Core", but
CMake did not find one.
Could not find a package configuration file provided by "Qt5Core"
(requested version 5.0) with any of the following names:
Qt5CoreConfig.cmake
qt5core-config.cmake
Add the installation prefix of "Qt5Core" to CMAKE_PREFIX_PATH or set
"Qt5Core_DIR" to a directory containing one of the above files. If
"Qt5Core" provides a separate development package or SDK, be sure it has
been installed.
© Ask Ubuntu or respective owner