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)
asceo
Registered Member
Posts
1
Karma
0
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!
asceo
koffeinfriedhof
Registered Member
Posts
608
Karma
4
OS
Hello!

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: https://community.kde.org/Guidelines_and_HOWTOs/Build_from_source/Install_the_dependencies


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


Bookmarks



Who is online

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