[PyQt] Static plugins check problem

Phil Thompson phil at riverbankcomputing.co.uk
Fri Jul 27 12:04:44 BST 2007


On Tuesday 24 July 2007 3:39 pm, Giovanni Bajo wrote:
> 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)?
>
> Thanks!

Changed in tonight's snapshot.

Phil


More information about the PyQt mailing list