If QF can't use Iran because of sanctions that only leaves a route overflying Saudi Arabia, Jordan, Israel and up the Med. If Israel is a no no then a southerly route over Egypt then a right turn to avoid Libya.
Looking at FR24 now (7.00 BST) an orderly queue of around 30 aircraft are overflying Mosul heading north west, most of them being EK. How long they will fly that route, who knows.
BBC News - Emirates to stop flying over Iraq after MH17 disaster