Static linking of python and pyqt

"Martin v. Löwis" martin at v.loewis.de
Wed Dec 19 04:55:01 EST 2007


> I'm trying to link python statically with qt and pyqt. I've tried this in 
> several ways but never succeeded. At the moment the final make runs without 
> errors but I get import errors when accessing pyqt.
> How can I solve this problem?

You'll need to include QtCore into Modules/config.c, preferably by
adding it to Modules/Setup.local.

HTH,
Martin



More information about the Python-list mailing list