[PyQt] Is there an easy way to install pyqt?

hok kakada hokkakada at khmeros.info
Thu Jun 21 03:48:32 BST 2007


នៅថ្ងៃ ព្រហស្បតិ៍ 21 មិថុនា 2007 02:53, Tina I បាន​សរសេរ​ថា ៖
> Giovanni Bajo wrote:
> > On 20/06/2007 10.49, Tina I wrote:
> >> I have had success with PyInstaller:
> >> http://pyinstaller.python-hosting.com/ It produces a self contained
> >> executable, either a single file or a directory, and can handle both
> >> Linux and Windows. Just remember that you need to add a hook to SIP
> >> to make it work with PyQt (Create a file under /hooks in your
> >> PyInstaller directory named "hook-PyQt4.py" that contain the line
> >> "hiddenimports = ['sip']")
> >
> > ... or simply get a more recent version of PyInstaller (from SVN
> > trunk), which already has this hook included. :)
>
> That would work too... :P
Thanks all for giving me your hands. 
Pyinstaller is very easy, beautiful and wonderful. 

It created the necessary libraries for my program and the executable file. 
Just one clicking...Wow...:-) (It lost all icons though, but it might have to 
be fixed in my program.)

Thanks again,
da



More information about the PyQt mailing list