Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.qbttheme doesn't work across different Qt versions. #13410

Open
jagannatharjun opened this issue Sep 20, 2020 · 6 comments
Open

.qbttheme doesn't work across different Qt versions. #13410

jagannatharjun opened this issue Sep 20, 2020 · 6 comments
Labels
Confirmed bug An issue confirmed by project team to be considered as a bug Core GUI GUI-related issues/changes Themes

Comments

@jagannatharjun
Copy link
Member

jagannatharjun commented Sep 20, 2020

.qbttheme is basically a Qt's rcc compiled resources object, this works almost correctly but one big problem is that format seems to differ across different Qt versions that limit qbttheme to be used only with a specific qt version. This is fine on windows, but kinda causing issues for Linux users since there Qt is system provided. It's a bit cumbersome to provide qbttheme for every different Qt version out there.

One possible solution is something like this #12142
but it's mostly dependent on maintainers' choice I guess.

@jabbermacy
Copy link

same issue here, v4.3.3, ZorinOS16, NO theme I try works at all

@sparrowrifu
Copy link

sparrowrifu commented Nov 16, 2021

same problem in v4.3.3 on Ubuntu
Screenshot from 2021-11-17 00-50-26

@Martinligabue
Copy link

Flatpak version is working

@b-user
Copy link

b-user commented Dec 11, 2022

.qbttheme is basically a Qt's rcc compiled resources object, this works almost correctly but one big problem is that format
seems to differ across different Qt versions that limit qbttheme to be used only with a specific qt version.

as far as I know there are few variant:
Qt Resource Compiler
--format-version The RCC format version to write (1, 2, 3)
--compress-algo Compress input files using algorithm (zstd, zlib, none).
PS. Zstandard compression requires format version 3.

qBittorrent 4.5.0 (build for windows) does not support Zstandard compression: "Failed to load UI theme from file: "C:_QbIT\zstd-v3.qbtheme"
I have tested all format version (1,2,3 ); (with zlib compression and "none" compression) on ubuntu-22.10-desktop-amd64.iso livecd & elementaryos-6.1-stable.20211218-rc.iso (qBittorrent 4.5.0, AppImage (lt20) from fosshub) and windows 10/11.
All work perfectly.

It seems to me that the problem is not in the version nor compression of the rcc.

@SolidGlenn
Copy link

It wont work directly by pressing apply;
You just need to restart.

Confirmed in v4.4.1 (64-bit)
image

@Kenny-Dave
Copy link

It wont work directly by pressing apply; You just need to restart.

Works for me in Mint Cinnamon.

@thalieht thalieht added the Themes label Feb 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Confirmed bug An issue confirmed by project team to be considered as a bug Core GUI GUI-related issues/changes Themes
Projects
None yet
Development

No branches or pull requests

9 participants