Generally speaking, unless there is some provision in the judgment or other court order that precludes your daughter from being removed form the country it can be done. If you will need a passport and your ex will NOT cooperate with you in that regard you will likely need to go back to court to get an order from the judge authorizing the travel and oridering your ex to cooperate. Good luck with this.
I agree with the above answer. It helps a lot to bring up this issue well in advance in case you end up in court. Certainly the other parent has a right to know where the child will be, for how long and to have some point of contact in case of emergency. Also, if your traveling will interfere with the other parent's visitation time, make a point of offering make-up time.