Package Details: qt5ct-kde 1.8-15

Git Clone URL: https://aur.archlinux.org/qt5ct-kde.git (read-only, click to copy)
Package Base: qt5ct-kde
Description: Qt5 Configuration Utility, patched to work correctly with KDE applications
Upstream URL: https://qt5ct.sourceforge.io/
Licenses: BSD
Conflicts: qt5ct
Provides: qt5ct
Submitter: ilya-fedin
Maintainer: ilya-fedin
Last Packager: ilya-fedin
Votes: 20
Popularity: 0.83
First Submitted: 2021-07-11 08:02 (UTC)
Last Updated: 2024-10-25 18:56 (UTC)

Dependencies (3)

Required by (9)

Sources (2)

Pinned Comments

ilya-fedin commented on 2025-02-17 06:27 (UTC) (edited on 2025-02-17 06:28 (UTC) by ilya-fedin)

Looks like it's over, Plasma 5 is removed from the repos. Now the only things possible to do are to remove the package somehow (how? I don't see such a button) or to wait, maybe someone will re-package the deps in the AUR.

ilya-fedin commented on 2021-07-11 08:04 (UTC) (edited on 2025-03-04 14:40 (UTC) by ilya-fedin)

Some user guide:

My patchset contains multiple fixes/features in comparison to vanilla qt5ct:

  1. KDE color schemes support
  2. KDE QML applications theming support
  3. KDE's icon engine is used, fixing monochrome icons colors (I saw problems with e.g. Adapta Kvantum theme on KDE applications toolbars, like dolphin, they're grey when should be white)

It's important to set a KDE color scheme (marked as (KColorScheme) in the list) for proper theming of KDE apps.

Additionally, if one wants KDE dialogs, this could be reached either with plasma-integration or xdg-desktop-portal (both work with vanilla qt5ct, too).

To get them with plasma-integration:

  1. Install plasma-integration
  2. Choose KDE as standard dialogs in qt5ct configurator

To get them with xdg-desktop-portal-kde:

  1. Install xdg-desktop-portal + xdg-desktop-portal-kde
  2. Configure xdg-desktop-portal's FileChooser to kde, see https://wiki.archlinux.org/title/XDG_Desktop_Portal#Configuration
  3. Ensure that session dbus instance is running correctly
  4. Choose XDG Desktop Portal as standard dialogs in qt5ct configurator

How to ensure that session dbus instance is running correctly when using xinit (DMs should already do the right thing for you):

  1. Ensure you don't have dbus-launch nor dbus-session-run in .xinitrc
  2. Ensure you copied the for f in /etc/X11/xinit/xinitrc.d/?*.sh loop from /etc/X11/xinit/xinitrc to your .xinitrc
  3. Ensure you have no errors in systemctl --user status dbus and the service is running. You shouldn't enable the service, it should be activated by dbus.socket.

In case of Wayland, you may need to integrate your WM with systemd (that's what one of the scripts in /etc/X11/xinit/xinitrc.d does for X11): https://github.com/swaywm/sway/wiki#gtk-applications-take-20-seconds-to-start

Latest Comments

« First ‹ Previous 1 2 3 4 Next › Last »

ilya-fedin commented on 2023-05-01 11:29 (UTC)

No, sadly it's made without debug symbols, but it seem to look like a Qt bug.

juniorsupertux commented on 2023-05-01 11:27 (UTC)

I'm not sure if this backtrace helps: https://bugs.kde.org/show_bug.cgi?id=469168#c2 I also reported the bug to the audiotube dev to see if they can assist

ilya-fedin commented on 2023-05-01 10:33 (UTC)

qqc2-desktop-style uses Kirigami itself, so it can add additional Kirigami-related warnings likely. I can't help with crashes without backtraces though (obtaining which would likely involve rebuilding Qt, KDE libraries and applications themselves with debug symbols).

juniorsupertux commented on 2023-05-01 10:20 (UTC)

Yes, I did mean the Kirigami message. However, the messages don't appear when setting the two environment variables to Fusion when running Kirigami QtQuick applications. Moreover, some Kirigami applications segfaults directly (Kalendar & Audiotube from what I've tested) and cannot be launched.

ilya-fedin commented on 2023-04-30 15:49 (UTC)

What 'the error' is? The error string you previously posted refers to a bug in the KDE's Kirigami framework. I believe you can just ignore it as most errors from QtQuick applications.

juniorsupertux commented on 2023-04-30 15:31 (UTC)

Wait, the issue persists. I was trying the wrong thing.

When I execute when the theme is set to Fusion in qt5ct:

QT_QPA_PLATFORMTHEME=qt5ct QT_STYLE_OVERRIDE=qt5ct-style audiotube

the error exist.

However, when I execute the following:

QT_QPA_PLATFORMTHEME=Fustion QT_STYLE_OVERRIDE=Fusion audiotube

It executes normally

juniorsupertux commented on 2023-04-30 15:12 (UTC)

After some toggling, I noticed that it only occurs when using kvantum themes, so it's more related to kvantum. Sorry for any inconvenience.

ilya-fedin commented on 2023-04-30 06:09 (UTC)

Can you prove somehow that this is due to this package? The error doesn't sound related.

juniorsupertux commented on 2023-04-30 05:47 (UTC)

This package works like charm on some KDE QtQuick applications. However, most outputs file:///usr/lib/qt5/qml/org/kde/kirigami.2/styles/Plasma/Theme.qml:73: TypeError: Cannot read property 'Theme' of undefined and few even segfaults.

TheKarion commented on 2023-03-22 17:02 (UTC)

The single best package in the aur. Makes qt5ct actually work like it's supposed to