Skip to content

[Solved] Customising a theme, questions & script errors. #79

@TassieDevyl

Description

@TassieDevyl

Hi folks,
I've been attempting to customise the colours in the QDarkStyleSheet theme, to colours from the Nord Theme palette.
I'm using Siduction (Debian Sid), Python 3.12.7

  1. Cloned the qbt-theme using github cli
  2. changed the colour codes in ..../qbt-theme/Builds/QDarkStyleSheet/qdarkstyle/palette.py
  3. ran the make-resource.py script
    python3 ./make-resource.py -style QDarkStyleSheet

I get the following errors

  1. File .....qBittorrent/Themes/qbt-theme/Builds/./make-resource.py", line 80, in <module> if not subprocess.call(cmd):
  2. File "/usr/lib/python3.12/subprocess.py", line 1026, in __init__ self._execute_child(args, executable, preexec_fn, close_fds,
  3. File "/usr/lib/python3.12/subprocess.py", line 1955, in _execute_child raise child_exception_type(errno_num, err_msg, err_filename)
  4. FileNotFoundError: [Errno 2] No such file or directory: '..../Internet/qBittorrent/Themes/qbt-theme/Builds/tools/rcc'

Errors 1. through 3. I don't understand as I'm not a experienced python user. Perhaps there are python packages I need to install?

Error 4. I do understand, in the tools directory there is one file, a Windows executable rcc.exe
There is no Linux equivalent present in the tools directory.

I chose this method as the Wiki entry "Create Custom Themes" references the script is "for the easy creation of .qbttheme files."

Where to go from here? As I've discovered using the script is not so straight forward, and there are no 'troubleshooting tips' if the script fails to complete.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions