mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-03-02 22:57:32 -05:00
.qbttheme doesn't work across different Qt versions. #10916
Labels
No labels
Accessibility
AppImage
Bounty
Build system
CI
Can't reproduce
Code cleanup
Confirmed bug
Confirmed bug
Core
Crash
Data loss
Discussion
Docker
Documentation
Duplicate
Feature
Feature request
Feature request
Feature request
Filters
Flatpak
GUI
Has workaround
I2P
Invalid
Libtorrent
Look and feel
Meta
NSIS
Network
Not an issue
OS: *BSD
OS: Linux
OS: Windows
OS: macOS
PPA
Performance
Project management
Proxy/VPN
Qt bugs
Qt6 compat
RSS
Search engine
Security
Temp folder
Themes
Translations
Triggers
Waiting diagnosis
Waiting info
Waiting upstream
Waiting web implementation
Watched folders
WebAPI
WebUI
autoCloseOldIssue
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/qBittorrent#10916
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @jagannatharjun on GitHub (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 https://github.com/qbittorrent/qBittorrent/issues/12142
but it's mostly dependent on maintainers' choice I guess.
@jabbermacy commented on GitHub (Nov 2, 2021):
same issue here, v4.3.3, ZorinOS16, NO theme I try works at all
@sparrowrifu commented on GitHub (Nov 16, 2021):
same problem in v4.3.3 on Ubuntu

@Martinligabue commented on GitHub (Sep 13, 2022):
Flatpak version is working
@b-user commented on GitHub (Dec 11, 2022):
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 commented on GitHub (Apr 11, 2023):
It wont work directly by pressing apply;
You just need to restart.
Confirmed in v4.4.1 (64-bit)

@Kenny-Dave commented on GitHub (Dec 15, 2023):
Works for me in Mint Cinnamon.