If the UAE is cleared to build a corridor like this with Iran, perhaps Iran could also be a route for Qatari natural gas to Europe and Asia. If Iran can’t supply Europe and Asia, at least it could earn from transit trade.
A Qatari pipeline could go across the shared gas field with Iran, and split with one going to Europe via Turkey and a second going to a Pakistan and then on to China. It would be a non-Russian source of natural gas and diversify energy supplies for both Europe and Asia.
If Iran sorted out its relations, and started exporting gas to either Europe and Asia, the Qatari pipeline would have set up a lot of the infrastructure for Iran to build out its own pipelines along side it.