GithubHelp home page GithubHelp logo

Comments (12)

BeckyDTP avatar BeckyDTP commented on July 22, 2024

It's not true.
Compiled file rcc (by make.bat from rcc\qresource\rcc folder) is the same as compiled (675840 bytes).
"Bigger" file in the source in folder (823296 bytes) is older [18 July 2022] and you can delete it.

from rccextended.

gududexiaocao avatar gududexiaocao commented on July 22, 2024

It's not true. Compiled file rcc (by make.bat from rcc\qresource\rcc folder) is the same as compiled (675840 bytes). "Bigger" file in the source in folder (823296 bytes) is older [18 July 2022] and you can delete it.

Yes, I know that the 803kb file is the source file, and the 659kb file is the compiled file. You can see that it has become smaller, and I will replace it and open the software and report an error

from rccextended.

zedxxx avatar zedxxx commented on July 22, 2024
  1. Try change --format-version from 1 to 2 in the make.bat
  2. Try add option --no-compress in the make.bat

from rccextended.

gududexiaocao avatar gududexiaocao commented on July 22, 2024

Thank you, I tried it and it still doesn't work. Is there any other solution?
image

from rccextended.

zedxxx avatar zedxxx commented on July 22, 2024

There are 2 files with the same name but whit different letters case in your .rcc file:

:/plugin/ICMaterialUI/UVSetting.ui
:/plugin/ICMaterialUI/Uvsetting.ui

So, extracting this .rcc under Windows will cause a bug with missing Uvsetting.ui in resulting folder and in the repacked resource file.

If you will try repack your .rcc under Linux (Ubuntu) everything should work fine. I don't know how to fix it under Windows yet.

from rccextended.

gududexiaocao avatar gududexiaocao commented on July 22, 2024

.rcc 文件中有 2 个名称相同但字母大小写不同的文件:

:/plugin/ICMaterialUI/UVSetting.ui :/plugin/ICMaterialUI/Uvsetting.ui

因此,在 Windows 下提取此 .rcc 将导致Uvsetting.ui结果文件夹和重新打包的资源文件中丢失的错误。

如果您尝试在 Linux (Ubuntu) 下重新打包您的 .rcc,一切都应该可以正常工作。我还不知道如何在 Windows 下修复它。

Please how can I extract or package under Linux you don't seem to provide a Linux version

from rccextended.

zedxxx avatar zedxxx commented on July 22, 2024

Yes, you must compile it by yourself from sources. See #2 and #3 for some howto.

from rccextended.

gududexiaocao avatar gududexiaocao commented on July 22, 2024

是的,您必须自己从源代码编译它。有关一些操作方法,请参见#2
sorry i really don't understand,can you help compile a copy

from rccextended.

gududexiaocao avatar gududexiaocao commented on July 22, 2024

是的,您必须自己从源代码编译它。有关一些操作方法,请参见#2和#3

image
I tried my best and gave up

from rccextended.

zedxxx avatar zedxxx commented on July 22, 2024

How to compile under Linux:

  1. Install Ubuntu
  2. Install Qt5 packages: sudo apt install qt5-default qtdeclarative5-dev
  3. Clone this repository: git clone https://github.com/zedxxx/rccextended
  4. Navigate to the src folder: cd rccextended/src/
  5. Compile it: qmake rcc.pro && make
  6. Move compiled binary to .local/bin: mv -v rcc ~/.local/bin/

Now you can decompile your .rcc file as usual. But, to compile it back you can't use make.bat now. You need to write a
rcc-make.sh script (save it in the same folder as make.bat and don't forget to make it executable). Script content is:

#!/usr/bin/bash
opt="--verbose --format-version 3 --binary"
rcc $opt ./../qrc/ICMaterialUI.qrc -o ./../rcc/ICMaterialUI.rcc

from rccextended.

zedxxx avatar zedxxx commented on July 22, 2024

@gududexiaocao Test this release candidate build: rcc-v1.0.5-rc1.zip

  • fixed file names collision issue;
  • fixed extraction of localized resources (previous version extracts resources only for the default locale)

I have done a lot of refactoring and don't test it a lot yet, so something can goes wrong. Test it carefully.

from rccextended.

gududexiaocao avatar gududexiaocao commented on July 22, 2024

@gududexiaocao Test this release candidate build: rcc-v1.0.5-rc1.zip

  • fixed file names collision issue;
  • fixed extraction of localized resources (previous version extracts resources only for the default locale)

I have done a lot of refactoring and don't test it a lot yet, so something can goes wrong. Test it carefully.

Great, tested and solved it perfectly, thank you very much for your efforts

from rccextended.

Related Issues (3)

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.