I have constructed a proof for 2 not having such a $q$ in the format below:
If we suppose $\exists q \in Q$ then we can write $(\frac{m}{n})^2=2 \implies m^2 = 2n^2$, where clearly the numbers $m^2, n^2$ must have an even number of primes in their factorisation in order for them to be to an even power; this implies that $2n^2$ has an odd number of primes in its prime factorisation, which in turn violates the Fundamental Theorem of Arithmetic which states that every prime factorisation is unique. An odd number of prime powers cannot qual an even number, so there is not a rational number who's square is 2.
How can I extend this to any non-perfect square $n$? Thanks!