Make Qt SCXML examples self-contained


The trafficlight examples referenced shared assets and the state machine
description from ../trafficlight-common, violating QUIP-13. Files outside
an example's own directory break the "copy example out of tree" feature in
Qt Creator and VS Code.

Each consuming example now ships its own copies of the state machine
description, the PNG assets it actually uses, and, for the widgets
examples, the shared trafficlight source files. The build files, resource
definitions, and documentation references were updated to use the local
copies, and the now-unused trafficlight-common directory was removed.

trafficlight-qml-simple draws its lights in QML and does not use any of
the PNG assets, so it only carries the state machine description. Its
qmake build previously bundled the images needlessly; it now matches the
CMake build, which never included them.

Task-number: QTBUG-147515
Pick-to: 6.11 6.12
Change-Id: I279af13ddbf85692b195866fb8e9c5426f145ace
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
commit7bb65f95f4b5e387436ce19f0d3313e03ca799fb
parent211c48af881fe465dd1f94767603dc6a11e80cba
authorJoerg Bornemann <joerg.bornemann@qt.io>
committerJoerg Bornemann <joerg.bornemann@qt.io>
commit timeTue, 23 Jun 2026 08:09:15 +0000