Reset qt variable for code producer.