Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

用release编译能读不能写,用的QT5.9 #5

Open
hjfzxc opened this issue Oct 9, 2018 · 0 comments
Open

用release编译能读不能写,用的QT5.9 #5

hjfzxc opened this issue Oct 9, 2018 · 0 comments

Comments

@hjfzxc
Copy link

hjfzxc commented Oct 9, 2018

QString xlsFile = QFileDialog::getExistingDirectory(this);
if(xlsFile.isEmpty())
return;
xlsFile += "/excelRWByCztr1988.xls";
if(m_xls.isNull())
m_xls.reset(new ExcelBase);
m_xls->create(xlsFile); //返回true
m_xls->setCurrentSheet(1); // 返回true
m_xls->writeCurrentSheet(write_data); //返回false,write_data已测试行数为187
m_xls->save();

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant