Read this in other language: Русский
RccExtended is a compiler and decompiler of binary Qt resources (files with the .rcc
extension).
It allows you to edit Qt application resources without having access to the source code.
This utility is based on the standard Qt resource compiler, with an added resource unpacking feature: command line keys --reverse
or -r
.
Editing workflow:
- unpack (decompile) binary Qt resources (using this utility);
- edit the unpacked files (.png, .xml, .txt, etc.) with third-party tools;
- recompile the edited files back into binary Qt resources (using this utility).
To unpack resources, follow these steps:
- navigate to the folder containing the resources;
- run the utility with the
--reverse
or-r
key.
Optionally, you can specify a filename pattern or a path to a specific file to unpack (see examples below).
When launched, the utility performs the following actions:
- scans the current directory for files with the
.rcc
extension; - unpacks all found resource files (each into its own folder);
- generates
.qrc
project files and arcc-make.bat
script (orrcc-make.sh
on Linux) for recompiling resources into binary format; - outputs to the console and logs information about the unpacking process.
Unpack all resource files with the *.rcc
extension in the current directory:
cd path-to-my-qt-resources
rcc --reverse
Unpack all resource files with the *.qbtheme
extension in the current directory:
cd path-to-my-qt-resources
rcc --reverse *.qbtheme
Unpack a specific file:
rcc -r example.rcc
On Windows:
- install MSYS2
- install the qt5-static package
- open a
mingw64
orucrt64
shell and navigate to therccextended/src
folder - run the command
qmake rcc.pro && make
On Ubuntu:
- install Qt5 packages:
sudo apt install qt5-default qtdeclarative5-dev
- navigate to the
rccextended/src
folder - run the command:
qmake rcc.pro && make
- move the compiled binary to
~/.local/bin
using:mv -v rcc ~/.local/bin/
The program is fully portable, requires no installation, and consists of a single file: rcc.exe
.
For convenience, it is recommended to place the program in the folder C:\Program Files\RccExtended\
and add this path to the system PATH environment variable.