[PyQt] Problems using PyQt 4.7 and py2exe

Albert Cervera i Areny albert at nan-tic.com
Thu Feb 4 14:10:12 GMT 2010


A Dijous, 4 de febrer de 2010, piotr maliński va escriure:
> Try in setup this config:
> 
> setup(windows=[{"script" : "MYFILE.py"}], options={"py2exe" :
> {"includes" : ["sip", "PyQt4.QtNetwork"]}})

I already have the three (sip, QtNetwork and QtWebKit), but it works with PyQt 
4.7rc2 and not with PyQt 4.7.

> 
> 
> If it will still throw an exception add the QtWebkit to includes.
> 
> 2010/2/4 Albert Cervera i Areny <albert at nan-tic.com>
> 
> > If I create the installer for my application using py2exe and PyQt 4.7,
> > the application starts but fails with the following exception with
> > QtWebKit:
> >
> > ImportError: DLL load failed: Can not find find the specified module.
> >
> > The installer works like a charm with PyQt 4.7rc2, though.
> >
> > The list of "system" dlls detected by py2exe is different in both
> > versions, and considers QtNetwork and QtSvg as system dlls with PyQt 4.7,
> > while it does
> > *not* using rc2.
> >
> > Any ideas?
> >
> > --
> > Albert Cervera i Areny
> > http://www.NaN-tic.com
> > Mòbil: +34 669 40 40 18
> > _______________________________________________
> > PyQt mailing list    PyQt at riverbankcomputing.com
> > http://www.riverbankcomputing.com/mailman/listinfo/pyqt
> 


-- 
Albert Cervera i Areny
http://www.NaN-tic.com
Mòbil: +34 669 40 40 18


More information about the PyQt mailing list