tools/templates/main.cpp
author unc0rr
Fri, 02 Sep 2011 12:27:15 +0400
changeset 5735 08ac2d557392
parent 359 59fbfc65fbda
permissions -rw-r--r--
Remove toLocal8Bit() conversion of file name as Qt should handle filenames on its own. Helps with filename on Windows, could help with issue #189.

#include <QApplication>

#include "mainform.h"

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