[Qt-qml] A simple, complete example of QML onvoking C++?

warwick.allison at nokia.com warwick.allison at nokia.com
Tue Apr 13 05:33:12 CEST 2010


> All I really want to do is have the simplest but complete example of
> the following:
> 
> -          A QML button that, when pressed, invokes a C++ function

It's C++, so you should rather want to invoke a method on an object.

The page you reference describes this here:

http://qt.nokia.com/doc/4.7-snapshot/qtbinding.html#calling-c-+%20methods-from-qml

--
Warwick




More information about the Qt-qml mailing list