Only link the binaries with the required Qt libs, and no more