tools/templates/main.cpp
author unc0rr
Fri, 16 Nov 2012 00:46:33 +0400
branchphysfslayer
changeset 8031 fc40b343c45c
parent 359 59fbfc65fbda
permissions -rw-r--r--
Script loading via physfs which doesn't work: - Some scripts just refuse to load for no obvious reason - Some scripts load fine when you set BUFSIZE to a large value, like 64k, but don't load with small values Error messages in both cases don't seem to have relation to lua file contents

#include <QApplication>

#include "mainform.h"

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