Changes needed to support Qt6.
Audio didn't work in 4.0.0. Qt reverted to Qt 5 in 4.0.1. Moved to Qt 6 in 4.2.0.
Wireshark 4.0.0 Release Notes
The Windows installers now ship with Qt 6.2.3. They previously shipped with Qt 6.2.4.
Wireshark 4.0.1 Release Notes
The Windows installers now ship with Qt 5.12.2. They previously shipped with Qt 6.2.3.
Wireshark 4.2.0 Release Notes
The following bugs have been fixed:
Issue 18413 - RTP player do not play audio frequently on Windows builds with Qt6.
7206: Qt: Update the RTP stream UI to support Qt6Multimedia.
ui/qt/rtp_player_dialog.cpp:
void RtpPlayerDialog::fillAudioRateMenu()
{
ui->outputAudioRate->blockSignals(true);
ui->outputAudioRate->clear();
ui->outputAudioRate->addItem(tr("Automatic"));
#if (QT_VERSION >= QT_VERSION_CHECK(6, 0, 0))
// XXX QAudioDevice doesn't provide supportedSampleRates(). Fake it with
// what's available.
Version 4.0.17 (v4.0.17-0-g882448bcf104).
Compiled (64-bit) using Microsoft Visual Studio 2022 (VC++ 14.37, build 32822),
with GLib 2.72.3, with PCRE2, with zlib 1.2.12,
with Qt 5.15.2,
...
Version 4.2.0 (v4.2.0-0-g54eedfc63953).
Compiled (64-bit) using Microsoft Visual Studio 2022 (VC++ 14.37, build 32822),
with GLib 2.78.0,
with Qt 6.5.3,