Managing the application life cycle (starting and stopping applications) in Qt5 HMI is achieved through the Launcher API (QtQnxCar2 library) and the QPPS library.
The Qt5 Application manager uses the QPPS library to access PPS.
The figure below shows how an application is launched in the Qt5 Application manager:
Stopping an application follows a very similar flow to launching an application. The same libraries and the Launcher is used to terminate the application. The stopping of an application can be triggered by a touch or ASR event, or by the application itself.