[Qt-qml] Exporting overloaded methods to QML

Artur Souza (MoRpHeUz) artur.souza at openbossa.org
Fri Jun 18 20:14:10 CEST 2010


On Fri, Jun 18, 2010 at 11:04 AM, Kent Hansen <kent.hansen at nokia.com> wrote:
> I verified that this does indeed work.

Ok good!

> This doesn't work. QtDeclarative currently doesn't use the same QObject
> method call logic as QtScript. You can "fix" that by uncommenting the two
> lines after "// Uncomment to use QtScript method call logic" in
> qdeclarativeobjectscriptclass.cpp. That will also make overload resolution
> work.

Ouch, just because it seemed to be the best approach :P
Any chances to get this "officially" uncommented?

Cheers!

-- 
-------------------------------------------------------
Artur Duque de Souza
openBossa
INdT - Instituto Nokia de Tecnologia
-------------------------------------------------------
Blog: http://blog.morpheuz.cc
PGP: 0xDBEEAAC3 @ wwwkeys.pgp.net
-------------------------------------------------------



More information about the Qt-qml mailing list