0
0
mirror of https://github.com/fralx/LimeReport.git synced 2024-12-26 01:24:39 +03:00
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();
}