Sending numbers from .cpp and showing it to QML
-
i want to send a default number from .cpp to qml.
should i use QString?
could you give me some example codes.I need to use .cpp to perform calculations to numbers i want to show on the qml.
Hope you can help me on my project,
Thanks ^^
-
If you use the qml tag on the right, you get a lot of info from devnet.
This one can interest you:
http://developer.qt.nokia.com/doc/qt-4.7/qdeclarativemodels.html