Fix Qt dependencies.