CMake: tests - and preamble and cleanups
* add preamble to support standalone test builds
* remove header comment
* ensure that all tests use the qt_internal_multimedia_add_test shim
Amends 01c05460646646de537789f3161d226405b24fb5
Pick-to: 6.12
Change-Id: Idfc7f9ae3aca77b08f97c32f27ccad1bf6df3df1
Reviewed-by: Artem Dyomin <artem.dyomin@qt.io>
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
| commit | 7663995bfb0e9946f96deabf1d45a0fd486fc25d |
| parent | feb3e774d7d8691b93ecebbc574b08b1f374589b |
| author | Tim Blechmann <tim.blechmann@qt.io> |
| committer | Tim Blechmann <tim.blechmann@qt.io> |
| commit time | Mon, 31 Aug 2026 12:49:30 +0000 |
- M tests/auto/integration/backends/CMakeLists.txt
- M tests/auto/integration/multiapp/CMakeLists.txt
- M tests/auto/integration/qaudiodecoderbackend/CMakeLists.txt
- M tests/auto/integration/qaudiodevicebackend/CMakeLists.txt
- M tests/auto/integration/qaudiosink/CMakeLists.txt
- M tests/auto/integration/qaudiosource/CMakeLists.txt
- M tests/auto/integration/qcamerabackend/CMakeLists.txt
- M tests/auto/integration/qmediacapturesession/CMakeLists.txt
- M tests/auto/integration/qmediaformatbackend/CMakeLists.txt
- M tests/auto/integration/qmediaframeinputsbackend/CMakeLists.txt
- M tests/auto/integration/qmediaplayer_concurrent/CMakeLists.txt
- M tests/auto/integration/qmediaplayerbackend/CMakeLists.txt
- M tests/auto/integration/qmediaplayerformatsupport/CMakeLists.txt
- M tests/auto/integration/qmediarecorderbackend/CMakeLists.txt
- M tests/auto/integration/qml/CMakeLists.txt
- M tests/auto/integration/qquickvideooutput/CMakeLists.txt
- M tests/auto/integration/qquickvideooutput_window/CMakeLists.txt
- M tests/auto/integration/qrtaudioengine/CMakeLists.txt
- M tests/auto/integration/qsamplecachebackend/CMakeLists.txt
- M tests/auto/integration/qscreencapturebackend/CMakeLists.txt
- M tests/auto/integration/qsoundeffect/CMakeLists.txt
- M tests/auto/integration/qsoundeffect_concurrent/CMakeLists.txt
- M tests/auto/integration/qspatialaudio/CMakeLists.txt
- M tests/auto/integration/qvideoframebackend/CMakeLists.txt
- M tests/auto/integration/qwindowcapturebackend/CMakeLists.txt
- M tests/auto/integration/shutdown/CMakeLists.txt
- M tests/auto/integration/spatialaudio_qml/CMakeLists.txt
- M tests/auto/integration/static_linking/CMakeLists.txt
- M tests/auto/unit/mockbackend/CMakeLists.txt
- M tests/auto/unit/multimedia/iteratorfacade/CMakeLists.txt
- M tests/auto/unit/multimedia/qabstractvideobuffer/CMakeLists.txt
- M tests/auto/unit/multimedia/qaudiobuffer/CMakeLists.txt
- M tests/auto/unit/multimedia/qaudiodecoder/CMakeLists.txt
- M tests/auto/unit/multimedia/qaudiodevice/CMakeLists.txt
- M tests/auto/unit/multimedia/qaudioformat/CMakeLists.txt
- M tests/auto/unit/multimedia/qaudiohelpers/CMakeLists.txt
- M tests/auto/unit/multimedia/qaudionamespace/CMakeLists.txt
- M tests/auto/unit/multimedia/qaudiorecorder/CMakeLists.txt
- M tests/auto/unit/multimedia/qaudioringbuffer/CMakeLists.txt
- M tests/auto/unit/multimedia/qautoresetevent/CMakeLists.txt
- M tests/auto/unit/multimedia/qcamera/CMakeLists.txt
- M tests/auto/unit/multimedia/qcameradevice/CMakeLists.txt
- M tests/auto/unit/multimedia/qerrorinfo/CMakeLists.txt
- M tests/auto/unit/multimedia/qimagecapture/CMakeLists.txt
- M tests/auto/unit/multimedia/qmediadevices/CMakeLists.txt
- M tests/auto/unit/multimedia/qmediaformat/CMakeLists.txt
- M tests/auto/unit/multimedia/qmediametadata/CMakeLists.txt
- M tests/auto/unit/multimedia/qmediaplayer/CMakeLists.txt
- M tests/auto/unit/multimedia/qmediaplaylist/CMakeLists.txt
- M tests/auto/unit/multimedia/qmediarecorder/CMakeLists.txt
- M tests/auto/unit/multimedia/qmediastoragelocation/CMakeLists.txt
- M tests/auto/unit/multimedia/qmediatimerange/CMakeLists.txt
- M tests/auto/unit/multimedia/qmessagespy/CMakeLists.txt
- M tests/auto/unit/multimedia/qmultimediautils/CMakeLists.txt
- M tests/auto/unit/multimedia/qplaybackoptions/CMakeLists.txt
- M tests/auto/unit/multimedia/qqnxsndaudiobackend/CMakeLists.txt
- M tests/auto/unit/multimedia/qqnxsndaudiodevice/CMakeLists.txt
- M tests/auto/unit/multimedia/qrhivaluemapper/CMakeLists.txt
- M tests/auto/unit/multimedia/qsamplecache/CMakeLists.txt
- M tests/auto/unit/multimedia/qscreencapture/CMakeLists.txt
- M tests/auto/unit/multimedia/qvideobuffers/CMakeLists.txt
- M tests/auto/unit/multimedia/qvideoframe/CMakeLists.txt
- M tests/auto/unit/multimedia/qvideoframe_nogui/CMakeLists.txt
- M tests/auto/unit/multimedia/qvideoframecolormanagement/CMakeLists.txt
- M tests/auto/unit/multimedia/qvideoframeformat/CMakeLists.txt
- M tests/auto/unit/multimedia/qvideotexturehelper/CMakeLists.txt
- M tests/auto/unit/multimedia/qvideotransformation/CMakeLists.txt
- M tests/auto/unit/multimedia/qwavedecoder/CMakeLists.txt
- M tests/auto/unit/multimedia/qwindowsresampler/CMakeLists.txt
- M tests/auto/unit/multimedia/ranges/CMakeLists.txt
- M tests/auto/unit/multimediaquick/CMakeLists.txt
- M tests/auto/unit/multimediawidgets/qcamerawidgets/CMakeLists.txt
- M tests/auto/unit/multimediawidgets/qgraphicsvideoitem/CMakeLists.txt
- M tests/auto/unit/multimediawidgets/qmediaplayerwidgets/CMakeLists.txt
- M tests/auto/unit/multimediawidgets/qvideowidget/CMakeLists.txt
- M tests/auto/unit/plugins/multimedia/ffmpeg/qffmpegmath/CMakeLists.txt
- M tests/auto/unit/plugins/multimedia/ffmpeg/qffmpegvideoencoderutils/CMakeLists.txt
- M tests/auto/unit/plugins/multimedia/ffmpeg/qwindowscamera/CMakeLists.txt
- M tests/auto/unit/plugins/multimedia/ffmpeg/texturebridge/CMakeLists.txt
- M tests/auto/unit/plugins/multimedia/ffmpeg/tst_ffmpeg_utils/CMakeLists.txt
- M tests/auto/unit/plugins/multimedia/gstreamer/gstreamer_backend/CMakeLists.txt
- M tests/auto/unit/plugins/multimedia/gstreamer/qmediacapture_gstreamer/CMakeLists.txt
- M tests/auto/unit/plugins/multimedia/gstreamer/qmediaplayer_gstreamer/CMakeLists.txt