Compiling Audacity on Windows 11 x64 fails

I am trying to build Audacity on windows 11 x64 using the instructions given in Building.md in the git repository. I am using QT 6.2.8 for building Audacity from source. The compilation fails due to the following errors:

Severity	Code	Description	Project	File	Line	Suppression State	Details
Error	LNK2019	unresolved external symbol WINRT_IMPL_RoGetActivationFactory referenced in function "struct winrt::hresult __cdecl winrt::impl::get_runtime_activation_factory_impl<0>(struct winrt::param::hstring const &,struct winrt::guid const &,void * *)" (??$get_runtime_activation_factory_impl@$0A@@impl@winrt@@YA?AUhresult@1@AEBUhstring@param@1@AEBUguid@1@PEAPEAX@Z)	muse_network_test	C:\Users\mcw\audacity\build\_deps\muse_framework-build\network\tests\muse_global.lib(unity_5_cxx.obj)	1		

We’re having the same at MuseScore. Some people tried downgrading their Windows SDK, which turned out to work, so the latest update from a few days ago introduced some breaking changes. I’ll look for a more definitive solution.