I believe you have the same problem as described here:
That said, it appears as if you are trying to install mrtrix on a high-performance computing cluster. Note that, unless you have VNC access to this machine, you probably won’t be able to (comfortably) use MRview remotely on that machine. Instead of running ./configure
you could simply run./configure -nogui
which will skip configuring and building the GUI commands, MRView and SHView, which are the ones that rely on QT. You can then install mrtrix on your own computer and use MRView locally to inspect and visualize your results.