Change syntax for Format/FormatA, remove array in function to be friendlier to Pas2C
This fixes a problem with Pas2C, but the price to pay is uglier code. :(
#include <QApplication>
#include "mainform.h"
int main(int argc, char *argv[])
{
QApplication app(argc, argv);
MyWindow *mainWin = new MyWindow;
mainWin->show();
return app.exec();
}