tools/templates/main.cpp
author nemo
Tue, 24 Apr 2012 17:16:18 -0400
changeset 6927 ee000959d645
parent 359 59fbfc65fbda
permissions -rw-r--r--
Oh, and I guess this is needed as well, although if many other places in the code do this, pas2c will need to be a bit smarter and automatically wrap.

#include <QApplication>

#include "mainform.h"

int main(int argc, char *argv[])
{
    QApplication app(argc, argv);
    MyWindow *mainWin = new MyWindow;
    mainWin->show();
    return app.exec();
}