Anki not opening because Qt6 is missing

A similar issue has been reported before: Unable to open Anki. (System Error)