On Tue, Feb 4, 2020 at 5:43 PM Thiago Macieira <thiago.macie...@intel.com> wrote: > > On Tuesday, 4 February 2020 01:45:27 PST coroberti . wrote: > > Sorry, I meant allocation of QNetworkAccessManager object > > by new operator (dynamic) versus its allocation on function scope (static). > > Instead of static, please use automatic storage (no static, no new). Create it > in the stack, after QApplication. >
Yes, "automatic" is the right word. Philippe, if "automatic" on stack instance resolves your issue and the crash when you are doing allocation by new remains, it's a memory issue. Try to look at the places where you are doing deleteLater(), perhaps with the reply objects. Take care, Robert _______________________________________________ Interest mailing list Interest@qt-project.org https://lists.qt-project.org/listinfo/interest