QtXlsxWriter
QtXlsxWriter copied to clipboard
VC2017&QT5.12 APP is crashed
- compling src to qtxlsx.dll in qt5.12 .... is ok
- it is used under VC2017 Debug Mode, when leave the function , the APP is crashed. but it is ok under VC2017 release mode , why?
stop in qlist.h
template <typename T> Q_OUTOFLINE_TEMPLATE QList<T>::~QList() { if (!d->ref.deref()) **dealloc(d);** }
app code:
void OAApp::pushbutton_on_click()
{
QXlsx::Document xlsx;
xlsx.write("A1", "Hello Qt!");
xlsx.saveAs("Test.xlsx");
}