Passing arguments to the PEP517 sipbuild.api backend

Michał Górny mgorny at gentoo.org
Tue May 10 22:09:29 BST 2022


On Tue, 2022-05-10 at 13:58 +0100, Phil Thompson wrote:
> On 08/05/2022 19:22, Michał Górny wrote:
> > On Sun, 2022-05-08 at 15:06 +0200, Michał Górny wrote:
> > > However, there seems to be one limitation: it doesn't permit passing
> > > the same option multiple times, i.e. the equivalent of:
> > > 
> > >   sip-build --qmake-setting QMAKE_CXX=\"clang++\" \
> > >     --qmake-setting QMAKE_CXXFLAGS=\"-foo\"
> > > 
> > > FWICS I can get the same result by using newlines inside the value,
> > > i.e.:
> > > 
> > >   sip-build --qmake-setting "QMAKE_CXX=\"clang++\"
> > >     QMAKE_CXXFLAGS=\"-foo\""
> > > 
> > > so this is not a blocker for me.  Still, you may want to consider it
> > > while the code is still warm.
> > 
> > Unfortunately, it turns out that I was wrong -- support for multiple
> > values seems to be necessary for --disable/--enable options of PyQt.
> 
> Should be fixed now.
> 

Thanks.  I've just gotten a confirmation that this seems to work well
for PyQt6.

-- 
Best regards,
Michał Górny



More information about the PyQt mailing list