Skip to content

Latest commit

 

History

History
6 lines (5 loc) · 267 Bytes

README.md

File metadata and controls

6 lines (5 loc) · 267 Bytes

Passing Data from C++ to QML

  • using Q_PROPERTY
  • using context->setContextProperty([name-in-qml], [q-type-value]);
  • using qmlRegisterType<[class-name]>( [package-name], [major-version], [minor-version], [class-name-in-qml] )
  • using Q_INVOKABLE methods