On this page

InferenceFlow QML Type

Connects inference steps into a runnable pipeline. More...

Import Statement: import QtEdgeAi
Since: Qt 6.12
Status: Technical Preview

Properties

  • steps : list<InferenceStep>

Methods

  • void start(Window window)

Detailed Description

InferenceFlow groups a set of InferenceStep steps and wires them into a pipeline. The steps are declared as children of the flow, which is the default property, and are connected to each other through the connections declared on each step. Consecutive steps without explicit connections are chained by matching output and input port types.

When the QML component completes, the flow builds the underlying C++ QInferenceFlow from its steps. Call start() to run the pipeline.

See also InferenceStep, InferenceVideoSource, VisionInference, and InferenceResultParser.

Property Documentation

steps : list<InferenceStep>

This property holds the list of steps that make up the flow.

This is the default property of InferenceFlow, so InferenceStep objects declared as children of a flow are added to this list.

See also InferenceStep.

Method Documentation

void start(Window window)

Starts running the flow.

If window is a valid Qt Quick window, the flow starts on the render thread before the next synchronization stage of window. Otherwise, it starts immediately.

Calling this method has no effect until the component has completed and the underlying flow has been built.

© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.