Qatar actually opened the scoring when Ali Asadalla found the back of the net exploiting some poor defensive work from the Turkish national side.
Barcelona star Arda Turan may have not played a single game for his new side this season but manager to equalised on 70 minutes with a top-corner shot.
Turan then setup Cenk Tosun with a wonderful cross just three minutes later to provide an assist for the winning goal.
The bearded winger played a key role in Turkey booking a place in the European Championships but has yet to play for Barcelona due to the FIFA transfer ban imposed on the club.
Turan joined the reigning La Liga champions on a five-year deal but will have to wait until January to play his first game for Barcelona.