Srini,

thanks a lot for the instructions!

I created a small and ugly wiki page for the instructions and linked that to the PySide docs:

http://developer.qt.nokia.com/wiki/Packaging_PySide_applications_on_Windows

http://developer.qt.nokia.com/wiki/PySideDocumentation

Cheers,

ma.

On 22.11.2010 07:12, ext Srini Kommoori wrote:
Hi Guys.

Glad to report that, cxfreeze is working fine with PySide - atleast I
have checked on Windows so far. Here is the process to pack your
python scripts.

1. Install cxfreeze
2. cxfreeze yourapp.py --target-dir dist --base-name Win32GUI
exe files and supporting files are created in dist directory.
3. Copy and replace QtGui4.dll from
C:\Python26\Lib\site-packages\PySide\  to the cxfreeze dist\
(The issue seems to be caused by cxfreeze pruning dlls. Once original
dlls are copied in the distribution directory, everything works as
expected.)

Again thanks for the amazing library and great work by providing PySide

thanks

On Sun, Nov 21, 2010 at 1:40 AM, Srini Kommoori<[email protected]>  wrote:
Hi Guys,

I am trying to freeze/pack a pyside application with cxfreeze and I am
having error message as seen below. Did anyone try this before? Any
preferred way to pack the application?

Packing PyQt4 is fine though. I really don't want to change back to
PyQt just because of this problem.

thanks,
-Srini

  File "C:\Python26\lib\site-packages\cx_Freeze\initscripts\Console.py", line 27
, in<module>
    exec code in m.__dict__
  File "lineedits.py", line 26, in<module>
  File "ExtensionLoader_PySide_QtGui.py", line 12, in<module>
ImportError: DLL load failed: The specified procedure could not be found.

_______________________________________________
PySide mailing list
[email protected]
http://lists.openbossa.org/listinfo/pyside

_______________________________________________
PySide mailing list
[email protected]
http://lists.openbossa.org/listinfo/pyside

Reply via email to