Allow for multicore compiling on quadcores, everyone has one right? :P It has perfomance benifits on single cores too so it's all good =)
#include <QApplication>
#include "mainform.h"
int main(int argc, char *argv[])
{
QApplication app(argc, argv);
MyWindow *mainWin = new MyWindow;
mainWin->show();
return app.exec();
}