[Qt-qml] Exporting overloaded methods to QML
Kent Hansen
kent.hansen at nokia.com
Fri Jun 18 12:13:27 CEST 2010
On 18. juni 2010 11:10, Hansen Kent (Nokia-D-Qt/Oslo) wrote:
> Even if you could get at the QScriptEngine, I'm not sure
> how you would be able to add anything to it (in a non-hackish way, i.e.
> that's not going to break when QML internals are changed).
>
Adding an overload of QDeclarativeContext::setContextProperty() that
takes a QScriptValue would seem intuitive.
Kent
More information about the Qt-qml
mailing list