QT_MAJOR_VERSION is defined automatically by QtVersionOption (since ECM
5.82) which is included by KDEInstallDirs. For older ECM, if
QT_MAJOR_VERSION isn't already set, default to 5.
There is similar to what's used in polkit-qt-1 (which doesn't depend/use
ECM at all).
malloc_trim is indeed a GNU extension, but an extension of glibc.
Relying on __GNUC__ unfortunately doesn't help with that. Check for
the actual presence of malloc_trim with cmake's check_function_exists
instead.
This fixes the build with musl libc, which doesn't come with
malloc_trim.
Co-authored-by: Ahmad Samir <a.samirh78@gmail.com>
This plugin can save your favourite commands to sidebar
You can double click the item to invoke the command
Signed-off-by: Tao Guo <guotao945@gmail.com>
It is crashing several times a day for me, and every time it closes all
Konsole windows I have open (including the ones I'm working in), so I
suggest it should be turned off by default for this release.
(cherry picked from commit 2a788380f648ed95a76508a10a327521ccb098f6)
There was support for bumping this to 14 or 17 earlier this year.
I'll check before 21.04 is released on how much code actually needs 17.
All modern OS distros should have a C++17 compiler.
This pulls in ECM 5.38 which requires a change of add_test()s
This update is needed to port from KToolInvocation::kdeinitExec to
KIO::CommandLauncherJob
Summary:
This was added for feature-parity with Meson-based projects; but an
individual package is the wrong place for that. To avoid the proliferation
of auto-detected ccache support in kde.org packages please submit such
a proposal to kde-frameworks-devel instead, where it could be added for
the benefit of all the projects using ECM. And more importantly, with a
standard switch to disable it for packaging environments
This reverts commit 007c2a0852.
Reviewers: #konsole, hindenburg
Reviewed By: #konsole, hindenburg
Subscribers: kkharlamov, hindenburg, konsole-devel, hiangel
Tags: #konsole
Differential Revision: https://phabricator.kde.org/D24805