[Qt-interest] Qt vs Adobe Flash etc

Benjamin Meyer ben at meyerhome.net
Tue Oct 13 03:17:25 CEST 2009


On Oct 12, 2009, at 5:25 PM, Jason H wrote:

> Yeah, but if you're going to have an Open Source replacement for  
> flash, having scripters modify C++ code is bogus.

QtScript coders don't modify c++ code.

> The PyQt library uses SIP to get around this, with the caveat that  
> you can't inherit from two C++ classes. The work-around for that is  
> to make an object that inherits one and proxies the other. A pain,  
> but you shouldn't have to recompile your C++ every time you want to  
> make a new object. And with PyQt you don't.

You don't have to recompile your app every time a qscript guy wants a  
new qgraphicsview object.

> I can't figure out why it is not supported by default

It is.

> -  that if you inherit from QObject,

QGraphicsViewItem doesn't

> then QtScript should not care whether your object comes from C++ or  
> Qt script.

It doesn't.

> It's a major bummer. So much so that I'm willing to buy a PyQt  
> license. I tried. I gave up.

Thats cool PyQt is a good project worth supporting.

-Benjamin meyer



More information about the Qt-interest-old mailing list