qml-mediaplayer-advanced: Add initial command line interface


This patch adds a command-line interface to qml-mediaplayer-advanced,
allowing us to:

- Control source URL for media. This is played immediately if set.
- Set RHI graphics backend. Overrides environment variables and the
setting set from GUI.
- Set media backend. Overrides environment variables and the
setting set from GUI.
- Set loop count with --loops.
- Exit when playback ends with --exit-on-end.
- Hide the controls with --no-gui.

If a source is given, the app exits with code 1 on playback errors.

These changes also help LLMs be a bit more efficient in utilizing this
manual test.

Pick-to: 6.12
Change-Id: Ib3029cb0ce6dd9f3f1d4b10d54684093416b68c9
Reviewed-by: Artem Dyomin <artem.dyomin@qt.io>
commit60779a19640081856ae8de25fa07487baae4fed3
parentbac77da388916f0c2978194909f5e70d598ab213
authorNils Petter Skålerud <nils.petter.skalerud@qt.io>
committerNils Petter Skålerud <nils.petter.skalerud@qt.io>
commit timeMon, 12 Oct 2026 19:56:05 +0000