Details
Description
Hello,
I have been trying to compile .qrc files into .rcc files using pyside6-rcc.exe, but it still compiles as python code, similar to what this user experienced: https://forum.qt.io/topic/132646/could-pyside6-rcc-compile-qrc-to-rcc
Similarly to that user on the forum, if I use rcc.exe directly, the resources do compile properly.
I have tried on a few different versions of PySide from PySide2 5.14.0 to PySide6 6.2.3 and they all exhibit this behavior.
The command I use is:
pyside2-rcc.exe --binary /path/to/my_qrc.qrc -o /output/my_rcc.rcc
If I do the exact same but as:
rcc.exe --binary /path/to/my_qrc.qrc -o /output/my_rcc.rcc
then everything is fine.
The problem is that rcc.exe is not in our build environments by default, but the pyide6-rcc.exe is, so it would be nice to get it fixed.
Attachments
For Gerrit Dashboard: PYSIDE-2199 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
455358,2 | pyside6-rcc: Fix --binary option | dev | pyside/pyside-setup | Status: MERGED | +2 | 0 |
455380,2 | pyside6-rcc: Fix --binary option | 6.4 | pyside/pyside-setup | Status: MERGED | +2 | 0 |
455383,2 | pyside6-rcc: Fix --binary option | tqtc/lts-6.2 | pyside/tqtc-pyside-setup | Status: MERGED | +2 | 0 |