Qatar has reiterated its firm stance rejecting violent extremism and terrorism in all their forms, whatever their motives.