Skip to content

How to compile .qbtheme

maboroshin edited this page Dec 5, 2022 · 5 revisions

How to compile .qbtheme

I know Windows only.

  1. Download Current Qt.
  • Latest as of February 2020: qt-opensource-windows-x86-5.14.1.exe
    And install (Take time). Turn off the Internet and run qt-opens ource-windows-~~.exe to avoid account registration (Currently possible).
  1. Download the ZIP (green button) of this Theme. Extract ZIP.
    Rename files of your choice. Rename src\stylesheet~~.qss to src\stylesheet.qss, Rename src\config~~.json to src\config.json .

  2. qss is a file similar to HTML css. I do not know well. If you want to change it, search it yourself and try it yourself.

  1. Compile resources.qrc by Qt rcc. Using the command line. Please adjust the arguments to your environment.

Exanple:
C:\Qt\Qt5.14.1\5.14.1\msvc2017_64\bin\rcc.exe src\resources.qrc -o ..\qBittorrentPortable\dark.qbtheme -binary

Clone this wiki locally