I tried 3 different methods for testing Qt classes. QtTests3 works