I'm trying to prove that the circle group $\mathbb{T}$ is isomorphic to $\mathbb{R} \oplus \mathbb{Q}/\mathbb{Z}$ with a little bit of cardinal arithmetics. First, I know that $\mathbb{T}$ can be decomposed (structure theorem of divisible groups) as a direct sum of $\mathbb{Q}^X$ for some set $X$ and its torsion subgroup (which is isomorphic to $\mathbb{Q}/\mathbb{Z}$).
I'd like to say that $|X| = |\mathbb{R}|$ (thus $\mathbb{Q}^X \cong \mathbb{R}$ as $\mathbb{Q}$ vector spaces and the desired result follows), however, I don't see how can I show this.
My reasoning was: $|\mathbb{R}|=|\mathbb{T}|=|\mathbb{Q}^X||\mathbb{Q}/\mathbb{Z}|$, then it must be the case that $|\mathbb{T}|=|\mathbb{Q}^X|$ and $|\mathbb{R}|=|\mathbb{Q}^X|$, and here I'm stuck because I cannot conclude that $|X|$ must be $|\mathbb{R}|$ (as counterexample, $|\mathbb{R}| = |\mathbb{Q}^{\mathbb{N}}|$).
Is there a way to prove that $|X| = |\mathbb{R}|$ or should I try another reasoning not involving cardinals?
Edit: forgot $\mathbb{Q}^{X}$ is a direct sum of copies of $\mathbb{Q}$ (is not the whole direct product because $X$ cannot be finite), so my "counterexample" is useless but still cannot see the equality.