With a LOT of time, coping mechanisms, and...well, more time. I only see my son every other week, plus every other holiday and a few weeks in the summer. For the first 2 1/2 years of his life, I was basically his sole caretaker and never away from him for more than a few hours. I finally got the courage to leave a bad situation, but didn't have the money for a lawyer, so my ex got everything he wanted.
It's been 6 years now. It STILL feels horrible every bit of time he's not here. My ex's new wife (who moved in two weeks after I left) STILL tries to stir up drama and cause tension just because she can, and because she doesn't like that I won't disappear. I still go to wake him up in the mornings and realize he's not here only when I see his empty bed.
But...there is a small ray of hope. I don't know how old your daughter is now, but I know that it started getting a bit easier when my son got old enough to remember better, and to express his own feelings about the situation. He remembers lessons and events from one visit to the next. He now appreciates time and attention more than the things people buys him. He's more curious about things, so there's more meaningful interaction. He can tell me how much he loves me, and loves being here with me. When he's with his dad, he can ask to call or email me instead of the zero contact between visits.
It might not seem like it right now, but a "new normal" will start to show up as time goes on. Contrary to some beliefs, it will not damage your bond with your daughter if you make what time you do have with her count. The good news is, every parent has rights. If one parent tries to violate those rights, infringe on court-ordered custody arrangements, or try to interfere with the relationship the other parent has with the child, then they can be held accountable in court. Know your rights, and fight for them if she steps on them.