[PyQt] Problems about pyqt, py2exe and unicode!

2009-07-08 Thread drizt
I have a testing code trying to get a filename from UI and open the file, the code is like this: filename = QFileDialog.getOpenFileName(self, uSelect File) fileOpen = open(self.filename, 'rb') When i want to open some Unicode file ,the code works allright in python script, but failed after

[PyQt] Re: Icons problem with pyqt4 and py2exe!

2009-07-06 Thread drizt
Thanks, it works when I create a setup.py with no bundle_files option, but it remains no icons when I use bundle_files:1 options in my setup.py. Can I force bundling all the plugin dlls in my .exe file? On Mon, 2009-07-06 at 20:45 +0100, pyqt-requ...@riverbankcomputing.com wrote: check the