You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
532 B

#include <QCoreApplication>
#include "include/XlsxXmlConverter.h"
int main(int argc, char* argv[])
{
QCoreApplication a(argc, argv);
XlsxXmlConverter convert;
2 years ago
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", "");
2 years ago
//convert.initPath(sourceXls, patternXML, "");
convert.readXlsx();
convert.readPattern();
convert.wrtiteXMl();
return a.exec();
}