Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 892878 - x11-themes/kvantum should provide a qt6 USE flag
Summary: x11-themes/kvantum should provide a qt6 USE flag
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords: EBUILD, PullRequest
Depends on:
Blocks:
 
Reported: 2023-02-02 04:54 UTC by Shaoyu Tseng
Modified: 2024-01-20 12:51 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
proposed ebuild (kvantum-1.0.10.ebuild,1.16 KB, text/plain)
2023-11-25 12:00 UTC, rogerroger
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Shaoyu Tseng 2023-02-02 04:54:12 UTC
Kvantum is a theme engine for Qt. It has experimental Qt6 support which is not enabled by default. It should provide a USE flag for qt6 so it can provide a consistent theme for qt6 applications.
Comment 1 squatted_posture785 2023-10-28 22:52:55 UTC
+1 for this

Just noticed that I couldn't select Kvantum for "Style" in qt6ct.
Comment 2 rogerroger 2023-11-02 12:25:20 UTC
> +1 for this
> 
> Just noticed that I couldn't select Kvantum for "Style" in qt6ct.
(In reply to ut2s7kol87 from comment #1)

As a temporary workaround you can manually compile the program with qt6 enabled and just put the `libkvantum.so` in `/usr/lib64/qt6/plugins/styles` and it works with the system install kvantum. This allows you to have your themes working in qt6 for the time being.
Comment 3 squatted_posture785 2023-11-10 13:45:47 UTC
@rogerroger

Thank you for the suggestion, it works just fine indeed.
Comment 4 rogerroger 2023-11-25 12:00:04 UTC
Created attachment 875614 [details]
proposed ebuild

This is what I came up with to get the qt6 flag working.

Building with qt6 just builds one .so for theming, the base application is only available with qt5.

I'll try and make a PR out of this, but it'll probably be some time until I get around to it.
Comment 5 Larry the Git Cow gentoo-dev 2024-01-20 12:51:02 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d2cfc8a6e4904941e59c7949815be57744c72adb

commit d2cfc8a6e4904941e59c7949815be57744c72adb
Author:     Alfred Wingate <parona@protonmail.com>
AuthorDate: 2023-12-31 14:02:57 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-01-20 12:40:26 +0000

    x11-themes/kvantum: add 1.0.10
    
    Closes: https://bugs.gentoo.org/892878
    Closes: https://bugs.gentoo.org/914386
    Signed-off-by: Alfred Wingate <parona@protonmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/34580
    Signed-off-by: Sam James <sam@gentoo.org>

 x11-themes/kvantum/Manifest              |  1 +
 x11-themes/kvantum/kvantum-1.0.10.ebuild | 77 ++++++++++++++++++++++++++++++++
 2 files changed, 78 insertions(+)