add code handling qtstring