Fix build when using QtKeyChain.