#include #include "include/XlsxXmlConverter.h" int main(int argc, char* argv[]) { QCoreApplication a(argc, argv); XlsxXmlConverter convert; QString sourceXls; QString patternXML; //if(argc == 2) //{ //sourceXls = patternXML = argv[1]; //} //if(argc == 3) //{ //sourceXls = argv[1]; //patternXML = argv[2]; //} convert.initPath("BPresetValue.xlsx", "Pattern.xml", ""); //convert.initPath(sourceXls, patternXML, ""); convert.readXlsx(); convert.readPattern(); convert.wrtiteXMl(); return a.exec(); }