[PyQt] Problems using PyQt 4.7 and py2exe
Albert Cervera i Areny
albert at nan-tic.com
Thu Feb 4 14:14:13 GMT 2010
A Dijous, 4 de febrer de 2010, Albert Cervera i Areny va escriure:
> 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.
By the way, QtWebKit and the rest of DLLs are installed but it seems PyQt
cannot find them.
>
> > 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