Added new code for making qui"s with qt