i installed Qt through the Qt online installer not the package manager.
i did install it through the package manager first but i got the same error, then i installed Qt through the official installer, also the maintenance tool made it a lot easier to downgrade.