tools/templates/main.cpp
author koda
Mon, 24 Dec 2012 15:41:45 +0100
changeset 8323 ab0b618bdf13
parent 359 59fbfc65fbda
permissions -rw-r--r--
get executable directory at runtime rather than configure time

#include <QApplication>

#include "mainform.h"

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