[PySide] cxfreeze and PySide 1.2.0

Roman Lacko backup.rlacko at gmail.com
Tue Jul 9 17:11:27 CEST 2013


2013/7/9 Joel B. Mohler <jmohler at gamry.com>

> On 7/9/2013 10:24 AM, John Ehresman wrote:
> > On 7/9/13 6:35 AM, Joel B. Mohler wrote:
> >> The new path discovery in __init__.py and _utils.py is giving me fits in
> >> a frozen environment.  I think I have two unrelated problems:
> >
> > Would it help to simply disable the path discovery when __file__
> > doesn't refer to an actual file?  I think things should work if all
> > the .pyd's and .dll's were in the right place.
>
> I have tried commenting out the _setupQtDirectories in __init__.py. It
> then crashes (ala segfault) on the import of QtCore.  I can't think of
> anything that makes sense explaining that crash since it works fine
> unfrozen and the normal cxfreeze failure mode is to have some missing
> dll or module ... not crashes.
>

When _setupQtDirectories is commented out, i would try to create qt.conf
with correct paths. qt.conf should be placed in executable path



>
> Joel
>
> _______________________________________________
> PySide mailing list
> PySide at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/pyside
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/pyside/attachments/20130709/1531b767/attachment.html>


More information about the PySide mailing list