qt gui now working