You Will Need An NOC I Believe You Leave Qatar Then You Come Back Under The New Company's Sponsorship.
However Since You Are In Doha, Ask The Immigrations It Is Better Whereas The Information From Them Is More Accurate.