As long as you have a valid QID, you can come back in 6 months. Hope you still have your QID with you as it will be check at Immigration here, don't know about your country of origin.