The same way those things adapted. There will be whitepapers and code and the changes will be adopted quickly.
Just like every other existential threat to bitcoin QC will threaten other more important things, like infrastructure, first.
It's a non-threat.