Also Qatar airways is the most strict in this matter. If over 7 months pregnant, even letter from doctor may not allow you to board, so if you need to travel, you should travel before that time.