Uploaded image for project: 'Qt for Python'
  1. Qt for Python
  2. PYSIDE-2199

pyside6-rcc --binary flag ignored

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3: Somewhat important
    • 6.5.0, 6.4.3
    • 6.2.3
    • PySide
    • None
    • Windows
    • bf18e38f4 (dev), 8628cb0e5 (6.4), f7610e39d (tqtc/lts-6.2)

    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

        Activity

          People

            kleint Friedemann Kleint
            erwanleroy Erwan Leroy
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes