[Interest] Crash when creating QNetworkAccessManager in qt 5.14.x

Thiago Macieira thiago.macieira at intel.com
Tue Feb 4 16:43:00 CET 2020


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.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel System Software Products





More information about the Interest mailing list