LimeReport/designer_plugin/main.cpp

14 lines
291 B
C++
Raw Normal View History

2017-11-24 00:13:47 +03:00
#include <QApplication>
#include <LimeReport>
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
LimeReport::ReportEngine report;
if (a.arguments().count()>1){
report.loadFromFile(a.arguments().at(1));
}
report.designReport();
return a.exec();
}