As an animation effect this should be in uGearsRender. Plus it'll still spark when paused then, which is kinda fun.
#include "mainwindow.h"
#include <QApplication>
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
MainWindow w;
w.show();
return a.exec();
}