Engine:
* Proper cleanup after creating landscape preview
* Avoid trying to write to current working directory (no-go under Windows Vista/7 if installed to C:\Program Files)
#include <QApplication>
#include "mainform.h"
int main(int argc, char *argv[])
{
QApplication app(argc, argv);
MyWindow *mainWin = new MyWindow;
mainWin->show();
return app.exec();
}