Here is another tool that you can use :
According to the Bonnet's theorem or the second form of the mean value theorem for definite integral with here the right hypothesis (the two functions are continuous on $[1,2]$ and one is monotonic), we can find $c \in ]1,2[$ such that :
$\int_{1}^{2}\frac{\sin(nx)}{x}\mathrm{d}x= \dfrac{1}{1}\int_{1}^{c}\sin(nx)\mathrm{d}x + \dfrac{1}{2}\int_{c}^{2}\sin(nx)\mathrm{d}x =\dfrac{\cos(x)-\cos(nc)}{n} + \dfrac{\cos(nc)-\cos(2x)}{2n}$.
Then for all $x\in [1,2]$ : $\left \vert \int_{1}^{2}\frac{\sin(nx)}{x}\mathrm{d}x \right \vert \le \dfrac{2}{n} + \dfrac{2}{2n} = \dfrac{3}{n}$.
Hence $\lim \limits_{n\to +\infty} \int_{1}^{2}\frac{\sin(nx)}{x}\mathrm{d}x = 0$.
$\underline{\textbf{NB}}$ : Notice that maybe at first, we wanted to use an interversion ($\lim / \int$) theorem. But here for the sequence of functions $g_{n}(x)=\dfrac{\sin(nx)}{x}$ defined on $[1,2]$ and for $n\in \mathbb{N}$, we need the uniform convergence of $(g_n(x))_{n\ge 0}$ on $[1,2]$. As you can see for several values of $x\in[1,2]$, $\lim\limits_{n\to +\infty} g_{n}(x)$ is not continuous so you cannot apply that theorem. It's a case where : $\lim \limits_{n\to +\infty} \int_{1}^{2}\frac{\sin(nx)}{x}\mathrm{d}x \neq \int_{1}^{2} \lim \limits_{n\to +\infty}\frac{\sin(nx)}{x}\mathrm{d}x$.