u have to get a qatari partner, then approval form ur company to work part time with ur qatari partner,
if u did so, its completely legal.