Code Monkey home page Code Monkey logo

rccextended's Introduction

Read this in other languages: Русский


Description

RccExtended - compiler and decompiler for binary Qt resources (files with the .rcc extension).

The utility allows you to edit the resources of Qt programs without having their sources.

Editing algorithm:

  • unpack (decompile) binary Qt resources (using this utility)
  • edit unpacked files (.png, .xml, etc.) by third-party tools
  • compile of edited files back into binary Qt resources (using this utility)

This utility is based on the standard Qt resource compiler, which has added the function decompilation of resources (command line switch --reverse).

To unpack resources, you need to do 2 things:

  • go to the folder with resources
  • run the utility with the --reverse key

Once launched, the utility performs the following actions:

  • scans working directory looking for .rcc files
  • unpacks all found resource files (each to a separate folder)
  • generates project files .qrc and rcc-make.bat / rcc-make.sh script for reverse compilation of resources into a binary form
  • outputs to the console and logs information about the progress of unpacking

Usage example:

    cd /Path/To/My/QtResources
    rcc --reverse

How to build from sources?

Windows:

  • install MSYS2 environment
  • install qt5-static package
  • navigate to the rccextended/src folder
  • compile: qmake rcc.pro && make

Ubuntu:

  • install Qt5 packages: sudo apt install qt5-default qtdeclarative5-dev
  • navigate to the rccextended/src folder
  • compile: qmake rcc.pro && make
  • move compiled binary to .local/bin: mv -v rcc ~/.local/bin/

rccextended's People

Contributors

zedxxx avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

rccextended's Issues

Unknown module(s) in QT: core xml

пытаюсь скомпилировать под линукс.
qmake rcc.pro говорит:

Info: creating stash file /tmp/rcc/rccextended-3/src/.qmake.stash
Project ERROR: Unknown module(s) in QT: core xml

не понимаю, что он от меня хочет.

[rccextended] Compile

как собрать эту утилитку, можно пару строк в ридми добавить?
чтобы не методом тыка изучать

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.