qBittorrent icon indicating copy to clipboard operation
qBittorrent copied to clipboard

.qbttheme doesn't work across different Qt versions.

Open jagannatharjun opened this issue 3 years ago • 4 comments

.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 https://github.com/qbittorrent/qBittorrent/issues/12142 but it's mostly dependent on maintainers' choice I guess.


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

jagannatharjun avatar Sep 20 '20 04:09 jagannatharjun

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

jabbermacy avatar Nov 02 '21 11:11 jabbermacy

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

sparrowrifu avatar Nov 16 '21 18:11 sparrowrifu

Flatpak version is working

Martinligabue avatar Sep 13 '22 18:09 Martinligabue

.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.

b-user avatar Dec 11 '22 21:12 b-user

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

Confirmed in v4.4.1 (64-bit) image

SolidGlenn avatar Apr 11 '23 18:04 SolidGlenn

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

Works for me in Mint Cinnamon.

Kenny-Dave avatar Dec 15 '23 23:12 Kenny-Dave