qt homework