[Marble-devel] How specify Qt version/location?
Dennis Nienhüser
earthwings at gentoo.org
Fri Aug 15 13:37:09 UTC 2014
Hi Johan,
adding /usr/local/Trolltech/Qt-4.8.6/bin to the PATH environment
variable should help (such that qmake can be executed directly).
Regards,
Dennis
Am 08.08.2014 18:39, schrieb Johan Lundquist:
> Hi,
>
> I am following the instructions on http://marble.kde.org/sources.php
> [1]. 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!
>
>
> Links:
> ------
> [1] http://marble.kde.org/sources.php
>
> _______________________________________________
> Marble-devel mailing list
> Marble-devel at kde.org
> https://mail.kde.org/mailman/listinfo/marble-devel
More information about the Marble-devel
mailing list