c++ qt4 school project