dbzhang800 / QtXlsxWriter

.xlsx file reader and writer for Qt5
http://qtxlsx.debao.me
Other
1.24k stars 631 forks source link

VC2017&QT5.12 APP is crashed #183

Open karlxu2008 opened 5 years ago

karlxu2008 commented 5 years ago
  1. compling src to qtxlsx.dll in qt5.12 .... is ok
  2. 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");

}