tools/templates/main.cpp
author unc0rr
Wed, 01 Jan 2014 00:45:28 +0400
changeset 9894 b7ef8bdaf5d7
parent 359 59fbfc65fbda
permissions -rw-r--r--
This is the way I like it: - Only call fpc on hwengine.pas, let compiler rule the dependencies - Make hwengine.pas depend on all other source files, so 'make' always calls fpc

#include <QApplication>

#include "mainform.h"

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