Has said at least twice, in void GLWidget::animate() qobject_cast<QTimer*>(sender()) will probably return NULL pointer