Is $\operatorname{Hom}_\mathbb{Z}(\mathbb{Q},\mathbb{Q}/\mathbb{Z})\cong\bigoplus_p\mathbb{Q}_p$? Or maybe $\prod_p\mathbb{Q}_p$?
I know $\mathbb{Q}/\mathbb{Z}\cong\bigoplus_p \mathbb{Z}_{p^\infty}$, and also that $\operatorname{Hom}(\mathbb{Q},\mathbb{Z}_{p^\infty})\cong\mathbb{Q}_p$. So I want to say $$ \operatorname{Hom}_\mathbb{Z}(\mathbb{Q},\mathbb{Q}/\mathbb{Z})\cong\operatorname{Hom}_\mathbb{Z}(\mathbb{Q},\bigoplus_p\mathbb{Z}_{p^\infty})\cong\bigoplus_p\operatorname{hom}(\mathbb{Q},\mathbb{Z}_{p^\infty})\cong\bigoplus_p\mathbb{Q}_p $$
However, I'm not sure about the middle isomorphism. I only know of rules which allow one to pull a coproduct in the first term out into the front of Hom and change it to a product, or you can pull a product in the second term out into the front of Hom as a product.
Some digging here seems to imply that one cannot generally pull a direct sum in the second term out in front as a product, ans this is an isomorphism if the first term is finitely generated, but $\mathbb{Q}$ is certainly not a f.g. $\mathbb{Z}$-module.