~/talk

Programming with Qt Quick 6/6 - C++ Integration

links:none on file
slides:none on file

Shows exactly how to push real C++ objects into QML: create C++ instances, call setContextProperty on the view’s rootContext to expose them (the objects must outlive the view or cause segfaults), or register types with qmlRegisterType to let QML instantiate C++ items. Demonstrates a C++ visual Ellipse via QDeclarativeItem with Q_PROPERTY color, Q_INVOKABLE methods, signals/slots, a QDeclarativeListProperty for child items, qrc resource packaging, and packaging as a QDeclarativeExtensionPlugin via qmldir — examples run and integrate with QML.

AI-written summary · about

  1. 0:00Start
  2. 0:08Qml and C + +
  3. 0:35Exporting C + + Instanced Objects into the Qml Environments
  4. 3:26Abstract Item Model Pointer
  5. 5:19Abstract Item Model
  6. 10:12Export Types
  7. 17:12Draw Ellipse
  8. 36:35Defining Custom Property Types
  9. 51:29Register Types
  10. 52:45Shared Library
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.