CMake fails configuring KF5
Nicolás Alvarez
nicolas.alvarez at gmail.com
Thu Oct 17 05:03:47 UTC 2013
2013/10/17 David Gil Oliva <davidgiloliva at gmail.com>:
> Hi!
>
> I'm getting this error from CMake while building KF5:
>
> -- Found KF5:
> /home/david/devel/kf5-development/share/ECM/find-modules/FindKF5.cmake
> (found suitable version "5.0.0", minimum required is "5.0.0") found
> components: CMake Compiler InstallDirs
> CMake Error at
> /home/david/devel/kf5-development/qt5/qtbase/lib/cmake/Qt5/Qt5Config.cmake:26
> (find_package):
> Could not find a package configuration file provided by "Qt5X11Extras"
> with
> any of the following names:
>
> Qt5X11ExtrasConfig.cmake
> qt5x11extras-config.cmake
>
> Add the installation prefix of "Qt5X11Extras" to CMAKE_PREFIX_PATH or set
> "Qt5X11Extras_DIR" to a directory containing one of the above files. If
> "Qt5X11Extras" provides a separate development package or SDK, be sure it
> has been installed.
> Call Stack (most recent call first):
> tier1/kidletime/CMakeLists.txt:15 (find_package)
>
>
> -- Configuring incomplete, errors occurred!
>
> Anyone can tell me why could this be happening? Maybe is Qt5 not well built
> or is something KF5-only related? :-/
Did you only compile qtbase? To compile all of KF5, you need qtbase,
qtdeclarative, qtx11extras, qtsvg, and maybe one or two more I'm
forgetting.
--
Nicolás
More information about the Kde-frameworks-devel
mailing list