Re: Re: Re: Programmatic color scheme change in QKdeTheme

2025-03-11 Thread David Redondo
Am Dienstag, 11. März 2025, 10:10 schrieb Axel Spoerl: > Hi David, > thanks for the insight! > The program would be ideal. However, it depends on KDE libraries. If an application links to KDE anyway, it can simply use the KDE platform theme. > Users of QKdeTheme are e.g. applications that don't li

Re: Re: Re: Programmatic color scheme change in QKdeTheme

2025-03-11 Thread Axel Spoerl
Just thinking out loud: How about adding an extern "C" MAYBE_SOME_EXPORT QGenericUnixTheme *createTheme() { return new KdePlatformtheme(); } to KdePlatformTheme? We could then try to load the KDE library at runtine in QKdeTheme::createKdeTheme(). If we can resolve the symbol, an application t

Re: Re: Programmatic color scheme change in QKdeTheme

2025-03-11 Thread David Redondo
Am Montag, 10. März 2025, 19:24 schrieb Axel Spoerl: > Hi David, > > I just did some debugging to find out, how KDE Palettes are promoted to the > QKdeTheme. > The blunt answer is: They don't, and they have never been. > > They were probably meant to be promoted at some point, because QKdeTheme

Re: Breeze style problem since Qt 6.8.2

2025-03-11 Thread Jean-Baptiste Mardelle
On Saturday, March 8, 2025 7:06:18 PM Central European Standard Time Tobias Leupold wrote: > Hi all! > > There's a style problem with Breeze that emerged with Qt 6.8.2: QSpinBoxes > take too much vertical space if an application-wide style sheet is set. Even > setting a single space as the style

Re: Re: Re: Programmatic color scheme change in QKdeTheme

2025-03-11 Thread Axel Spoerl
Asking differently: How can a Qt application make sure, that KdePlatformTheme is used? From: kde-devel on behalf of Axel Spoerl Sent: Tuesday, 11 March 2025 11:46 To: kde-devel@kde.org Subject: Re: Re: Re: Programmatic color scheme change in QKdeTheme Just thi

Re: Re: Re: Re: Programmatic color scheme change in QKdeTheme

2025-03-11 Thread David Redondo
Am Dienstag, 11. März 2025, 14:44 schrieb Axel Spoerl: > Asking differently: How can a Qt application make sure, that KdePlatformTheme > is used? Nothing, it happens automatically. Our Theme has key: "kde" matching to XDG_CURRENT_DESKTOP https://invent.kde.org/plasma/plasma-integration/-/blob/mas

Re: Programmatic color scheme change in QKdeTheme

2025-03-11 Thread David Redondo
Hi Alex, Am Montag, 10. März 2025, 16:49 schrieb Axel Spoerl: > Hi KDE folks, > > Qt 6.8 has implemented QPlatformTheme::requestColorScheme() as a virtual > function. It is meant to allow a programmatic color scheme change within a > QGuiApplication. If the system's theme is dark, the applicati

Re: Re: Programmatic color scheme change in QKdeTheme

2025-03-11 Thread Axel Spoerl
Hi David, thanks for the insight! The program would be ideal. However, it depends on KDE libraries. If an application links to KDE anyway, it can simply use the KDE platform theme. Users of QKdeTheme are e.g. applications that don't link to KDE, because they need to run on Gnome environments as w

Programmatic color scheme change in QKdeTheme

2025-03-11 Thread Axel Spoerl
Hi KDE folks, Qt 6.8 has implemented QPlatformTheme::requestColorScheme() as a virtual function. It is meant to allow a programmatic color scheme change within a QGuiApplication. If the system's theme is dark, the application can still be light and vice versa. https://codereview.qt-project.org/

[ANNOUNCE] CMake 4.0.0-rc4 is ready for testing

2025-03-11 Thread John Parent
I am proud to announce the fourth CMake 4.0 release candidate. https://cmake.org/download/ Documentation is available at: https://cmake.org/cmake/help/v4.0 Release notes appear below and are also published at https://cmake.org/cmake/help/v4.0/release/4.0.html Release milestone is available

KDE Gear projects with failing CI (master) (11 March 2025)

2025-03-11 Thread Albert Astals Cid
Please work on fixing them, otherwise i will remove the failing CI jobs on their 4th failing week, it is very important that CI is passing for multiple reasons. Bad news: 2 repostories have started failing korganizer - NEW * https://invent.kde.org/pim/korganizer/-/pipelines/908511 * Windows