tools/templates/main.cpp
author nemo
Fri, 23 Nov 2018 15:54:23 -0500
changeset 14287 6015b74eea55
parent 359 59fbfc65fbda
permissions -rw-r--r--
overall, using LongInt for leftX/rightX results in fewer casts, since most comparisons are against ints.

#include <QApplication>

#include "mainform.h"

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