[Marble-devel] How specify Qt version/location?

Johan Lundquist jolundq at gmail.com
Fri Aug 8 16:39:58 UTC 2014


Hi,

I am following the instructions on http://marble.kde.org/sources.php. When
doing cmake I get the message below. How do I tell cmake which Qt version I
want to use and where it is located? I have built and installed Qt 4.8.6
from sources. It compiled just fine and is working. It installed by default
in /usr/local/Trolltech/Qt-4.8.6/. System is openSUSE 13.1.

All the best,
Johan

CMake Error at CMakeLists.txt:66 (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" 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.
-- Configuring incomplete, errors occurred!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/marble-devel/attachments/20140808/f2e8898a/attachment-0001.html>


More information about the Marble-devel mailing list