What game are you talking about?
But yes, any game where you give up more than three earned runs does not end up a quality start.
This one, of course. Livan's pitched 6 innings, 3 runs. If he quit now it's a QS.
What if you go 9-4, is that a QS? That's better than a 6-3, more innings with a lower ERA.