[PyKDE] RE: QAxWidget

Phil Thompson phil at riverbankcomputing.co.uk
Fri Mar 5 19:24:01 GMT 2004


On Thursday 04 March 2004 22:57, Mike Thompson wrote:
> I need to include an ActiveX component in a PyQt program but PyQt does not
> currently
> wrap QAxWidget.
>
> Has anyone found a way to embed an ActiveX component in some other way? 
> Any pointers (code examples?) greatly appreciated.
>
> I've searched this mail-list's archive and found some mentions of ActiveX
> from Greg Landrum, but the thread trails off in April last year with
> apparently unresolved problems.
>
> On another tack, would it be a difficult job to SIP Qt's AxWidget class to
> something embedable and pythonic?  Or so put that another way: has the
> wrapping of AxWidget not been done because its problematic or because its
> JUST bloody windows related. :-)   (I would have a look myself, only I
> don't have any source because I'm evaluating PyQt using only the BlackAdder
> demo and a AxWidget-less installation on a RedHat box.)

Are you able to say what the minimum set of classes and methods you would 
need?

One reason it hasn't been done before is that I'm not sure everything can be 
wrapped, but I don't know what a useful minimum would be.

Phil




More information about the PyQt mailing list