Aim to part with her on good terms, if at all possible.
Do NOT make her think it was a waste of time, because it wasn't.
And yes, she will be upset, hurt, even angry, but you gotta remain direct and honest: And the truth is, she is a wonderful person, but you cannot give her what she wants...