[PyKDE] Building PyQt as 1 shared library

Phil Thompson phil at riverbankcomputing.co.uk
Thu Nov 6 09:54:01 GMT 2003


On Wednesday 05 November 2003 10:57 pm, Peter Kropf wrote:
> Does anyone know if it's possible to build PyQt so that there is one shared
> library that contains all the code instead of the 8 (libqtcanvascmodule.so,
> libqtcmodule.so, libqtextcmodule.so, libqtnetworkcmodule.so,
> libqtsqlcmodule.so, libqttablecmodule.so, libqtuicmodule.so,
> libqtxmlcmodule.so) as there are today?

Building it as a single shared library shouldn't be too difficult. The problem 
is that I'm not sure Python can deal with several modules being defined in a 
single library as it uses the module name to load the extension and to call 
the initialisation function.

Why would you want to do this?

Phil




More information about the PyQt mailing list