Bug 443092 - Cannot build kdevelop master with kdesrc-build on focal
Summary: Cannot build kdevelop master with kdesrc-build on focal
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kdevelop
Classification: Applications
Component: general (show other bugs)
Version: git master
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-09-28 19:41 UTC by Ian H
Modified: 2025-02-25 14:55 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ian H 2021-09-28 19:41:58 UTC
SUMMARY
building kdevelop master currently requires all libkf5 libraries version 5.78.0 or greater. On focal, the newest version available for these is 5.68.0. Should it not build properly on the latest LTS release?




SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Ubuntu 20.04
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Igor Kushnir 2021-10-13 15:27:40 UTC
Lowering the required version of KF5 might be easy enough. But there is another issue with Ubuntu 20.04: its Qt version is 5.12: https://packages.ubuntu.com/focal/libqt5core5a. Requiring Qt 5.15 received some support and no objections from KDevelop developers in this thread: https://mail.kde.org/pipermail/kdevelop-devel/2021-April/063618.html.
Comment 2 Ian H 2021-10-13 16:13:55 UTC
I'm fine with it not working with 5.12 qt that's packaged through the repo. there are quite a few backports for 5.15.

I wasn't even using the backports. i had set the kdebuild to download it's own version of qt and it wasnt functioning. I'd expect that to work on at least the latest LTS.
Comment 3 Igor Kushnir 2021-10-13 16:26:41 UTC
Do you mean that it might be possible to compile KDevelop against system KF5 version (which is built against system Qt 5.12) and against non-system Qt 5.15 version? You can try whether this works by setting KF5_DEP_VERSION to 5.68.0 in KDevelop's top-level CMakeLists.txt. If it doesn't compile right away, maybe you'd also need to revert one or two very recent commits that rely on a later KF5 version.
Comment 4 Ian H 2021-10-13 18:23:23 UTC
nope, i guess not. if you build with qt 5.15 and the older kf5, it gives you undefined references at runtime.
Comment 5 Igor Kushnir 2021-10-13 18:46:23 UTC
https://commits.kde.org/kdevelop/f4d493a64784ef43a183493ce1f9624f96366f3a is 4 months old, and you are the only affected person that I know of. Most of those who compile KDevelop from master must be using newer KF and Qt versions. Maybe some users/developers quietly give up or manually lower the requirements in CMakeLists.txt.
Comment 6 Igor Kushnir 2025-02-24 17:07:54 UTC
KDevelop 5 is no longer maintained.
Comment 7 Ian H 2025-02-25 14:51:28 UTC
any chance for an update on the kdevelop website 'build it' section for v6?
Comment 8 Igor Kushnir 2025-02-25 14:55:26 UTC
(In reply to Ian H from comment #7)
> any chance for an update on the kdevelop website 'build it' section for v6?
Not from me as I have never used kdesrc-build. You can create a separate bug report for that. Better yet, if you have figured it out, update the documentation yourself and create a MR at https://invent.kde.org/websites/kdevelop-org/-/merge_requests