engine uses final (?) SDL 2 APIs, new events and types added. Touch input broke by the way, and system events should be handled differently
#include <QtGui/QApplication>
#include "mainwindow.h"
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
MainWindow w;
w.show();
return a.exec();
}