#include #include #include #include #include #include #include #ifdef _WIN32 #include #include #endif int main(int argc, char *argv[]) { QApplication a(argc, argv); QStringList vars; LimeReport::ReportEngine report; if (a.arguments().count() < 2 ){ std::cerr<<"Error! Report file is not specified !!"; return 1; } if (a.arguments().count()>2){ vars = a.arguments().at(2).split(";"); qDebug()<setReportVariable(varItem.at(0),varItem.at(1)); } } QString reportFile = a.arguments().at(1); if (!report.loadFromFile(reportFile)){ qDebug()<