Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
None
-
5.14.2
-
None
-
Windows
-
-
a54294369d8bc7b98ed7d9d8ecf61774eec29782 (qt/qtbase/dev) ee8454670ddfdec3a73664d7fca068cb3dd92b0e (qt/qtbase/5.15)
Description
When generating a resource file with redirecting the output to a text file, e.g.
c:\Python38\Scripts\pyside2-rcc.exe ressources.qrc > rcc38.py
the output file has after each code line an additional empty line (see rcc38.py). Therefore the generated code isn't valid Python code. Called with Python37 and PySide2 5.13.2 the output is correct (see rcc37.py).
Problem doesn't exist if I use -o <filename> instead, but this is no option, because it also happen in eric6 IDE.
Tobias