Qt pcm播放报错 error: no member named ‘setCodec’ in ‘TestNamespace::QAudioFormat’ 因为Qt 6.2.0和Qt6.2.1版本有这个bug,请换用别的版本详情如下: QtQTBUG-94182 error: no member named ‘setCodec’ in ‘TestNamespace::QAudioFormat’