I am trying to prove that $\mathbb{Z}[x]$ and $\mathbb{Q}[x]$ are not isomorphic. I was thinking of arguing the following:

Suppose there exists an isomorphism $\varphi: \mathbb{Z}[x]\rightarrow\mathbb{Q}[x]$. Because isomorphisms are by definition surjective, there exist $x, y \in\mathbb{Z}[x]$ such that $\varphi(x) = c \in \mathbb{Q}[x]$ and $\varphi(y) = d \in \mathbb{Q}[x]$ for any $c, d\in\mathbb{Q}[x]$. Because $\varphi$ is an isomorphism we must have $\varphi(x+y) = \varphi(x) + \varphi(y)$ for all $x, y \in \mathbb{Z}[x]$. Namely, because polynomial addition is defined componentwise, we must have that the constant term of $\varphi(a + b) = c_{0} + d_{0}$ (where $c_{0}, d_{0}$ are the constant terms of $c$ and $d$ respectively. I would then argue that because $\mathbb{Z}$ and $\mathbb{Q}$ are not isomorphic as additive groups, no such isomorphism $\varphi$ exists. Is this a valid proof?

I've seen proofs that argue that because $\varphi(1) = 1$ for any homomorphism we have $1 = \varphi(2(1/2)) = 2(\varphi(1/2))$ so $\varphi(1/2)$ must be contained in $\mathbb{Z}[x]^{\times}$. Then because $\mathbb{Z}[x]^{\times} = \mathbb{Z}^{\times} = \{\pm1\}$ we have $2 \times \pm1 \neq1$, a contradiction. Is this any different than arguing that $\mathbb{Z}[x]$ and $\mathbb{Q}[x]$ each have a different number of units?