[PyQt] Static plugins check problem

Giovanni Bajo rasky at develer.com
Tue Jul 24 15:39:33 BST 2007

Hi Phil,

this part of configure.py causes me trouble:

     if qt_shared:
         if opts.staticplugins:
             sipconfig.error("You cannot specify static plugins when Qt 
has been built as shared libraries.")

The point is: I don't know if Qt has been built in static or shared 
mode, and I want to support both scenarios. How can I automate calls to 
configure.py if it errors out in such a condition?

Can that error() be replaced with something that doesn't stop 
configuration (a warning)?

Giovanni Bajo

More information about the PyQt mailing list