Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Opening/Editing Qt Resource File (.rcc)

Tags:

resources

qt

rcc

I want to translate a program; but its language files (.qm) are in a .rcc file.

The program is not mine, so I haven't got any .qrc file.

Before asking this question, I have searched this site about this issue; but I don't attain anything.

Is there any way to extract/decompile it?

like image 844
DrakeMcCain Avatar asked Feb 24 '16 07:02

DrakeMcCain


People also ask

What is RCC in Qt?

The rcc tool is used to embed resources into a Qt application during the build process. It works by generating a C++ source file containing data specified in a Qt resource (. qrc) file.

What is QRC file in Qt?

what is a . qrc file? The Qt Resource Collection File is stored in the QRC format and is affixed with the QRC extension, and is used by the Qt application and toolkit. These QRC files are generally classified as settings file that contain a list of application resources like image files or icons in XML format.


Video Answer


1 Answers

You can take my tool RccExtended - it based on the official Qt resource compiler with additional function to decompile binary resources.

Usage example:

cd \Path\To\MyQtResources\
rcc --reverse

Decompiler will unpack all .rcc files in the current directory, generate .qrc files and make.bat file to compile resources back to the binary format.

like image 151
zed Avatar answered Oct 05 '22 14:10

zed