This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Build from Source kcoreaddons didn't build

Tags: None
(comma "," separated)
Registered Member
Hello everyone,

I'm new here, and want to setup the development requirement ... however, I have a problem which I don't understand fully.

When I start ./kdesrcbuild (System: Kubuntu 18) , the build stops
Building kcoreaddons from frameworks (2/309)
No source update, but the last configure failed
Updating kcoreaddons (to branch master)
Stashing local changes if any...
Source update complete for kcoreaddons: no files affected
Preparing build system for kcoreaddons.
Removing files in build directory for kcoreaddons
Old build system cleaned, starting new build system.
Running cmake targeting Unix Makefiles...
Unable to configure kcoreaddons with CMake!
Unable to configure kcoreaddons with KDE

kcoreaddons didn't build, stopping here.

In the kcoreaddons log, the following message appears:

-- Setting build type to 'Debug' as none was specified.
-- Looking for __GLIBC__
-- Looking for __GLIBC__ - found
-- Performing Test _OFFT_IS_64BIT
-- Performing Test _OFFT_IS_64BIT - Success
-- Performing Test HAVE_DATE_TIME
-- Performing Test HAVE_DATE_TIME - Success
CMake Error at CMakeLists.txt:32 (find_package):
Could not find a configuration file for package "Qt5" that is compatible
with requested version "5.12.0".

The following configuration files were considered but not accepted:

/usr/lib/x86_64-linux-gnu/cmake/Qt5/Qt5Config.cmake, version: 5.9.5

My Qmake version is
QMake version 3.1
Using Qt version 5.12.9

I don't understand " Could not find a configuration file for package "Qt5" that is compatible
with requested version "5.12.0"."
Any suggestion what to do that the kcoreaaddons build correctly?

Thank you for your time!
Registered Member

The easiest* would be to set up a Kubuntu 20.04 which ships a more recent version of Qt . But using Kubuntu for building KDE is a long way, as I just tried it myself ending up in compiling Qt5.15.1 myself and installing all available headers and libraries, just to get an Okular with the latest Poppler-library running. The basic headers could be found here:

*: Well, the easiest would be to use ArchLinux ;)


Who is online

Registered users: bartoloni, Bing [Bot], Google [Bot], Yahoo [Bot]