Hi, 2011/5/16 Thorsten Kampe <[email protected]>: > * Matti Airas (Mon, 16 May 2011 12:24:23 +0300) >> On 16.05.2011 11:04, ext Thorsten Kampe wrote: >> > So the question is: is PySide supposed to be able to use PyQt's UI >> > files unmodified? It is actually able to use "Resource object code" >> > (from pyrcc4) from PyQt unmodified. >> >> No, files generated with pyuic4 won't work as is, due to the >> conflicting import statements. There might be other minor differences >> nowadays as well. Just run pyside-uic against the .ui files and you're >> all set. > > I just regenerated ui.py and resource_rc.py and surprisingly > resource_rc.py generated from pyside-rcc (4.51 Mb) is four(!) times as > big as the one generated by pyrcc4 (1.18 Mb).
You could open a bug about this and maybe attach some snippets comparing what pyside-rcc does different from pyrcc4. I've created a bug report for that and also tried to come up with a simple patch that already reduces the size for one of my test files from 5.4 MB to 3.9 MB: http://bugs.pyside.org/show_bug.cgi?id=858 Also, did you try playing with the pyside-rcc command line parameters? I see compression level settings there - maybe this helps? > As as sidenote, the FAQ[1] should be updated: > > Tool names different > > PySide uses different names for the tools scripts: > pyuic4 -> pyside-uic > pyrcc4 -> pyside-rcc4 > pylupdate4 -> pyside-lupdate > > But: pyside-rcc4 is now called pyside-rcc (at least on Windows). Yes, that's a typo in the Wiki (I also only have "pyside-rcc" here on Linux). Thanks, Thomas _______________________________________________ PySide mailing list [email protected] http://lists.pyside.org/listinfo/pyside
