Can Morocco afford to export food to Qatar?

It may be oil-rich but it's short on arable land, so Qatar is planning to invest massively in Morocco’s agricultural development. In exchange, Morocco would export part of its food production to Qatar. The plan would generate jobs and economic activity, but at what cost? Morocco has yet to achieve food security on its territory and already relies heavily on food imports.