The Princess of Wales has continued her gradual return to work by joining husband Prince William to welcome the Emir of Qatar and his wife on their state visit to the UK.