To have to do with / To be related to
Essential linking phrase. No tiene nada que ver = it has nothing to do with it. ¿Qué tiene que ver? = what does that have to do with it?
That has nothing to do with what we're talking about.
The problem has to do with communication.
—What does he have to do with this? —A lot.