On macOS, the code that read the plist is using QByteArray::fromRawCFData. When we return the data directly we need to detach the QByteArray so that it does not point CFData's data that will get deallocated just after the call. Task-number: QTBUG-58531 Change-Id: If829a304b986c99c8fc2aeeb992f2d539a4eef3a Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io> |
||
|---|---|---|
| .. | ||
| .gitattributes | ||
| .gitignore | ||
| BLACKLIST | ||
| bom.ini | ||
| qsettings.pro | ||
| qsettings.qrc | ||
| resourcefile.ini | ||
| resourcefile2.ini | ||
| resourcefile3.ini | ||
| resourcefile4.ini | ||
| resourcefile5.ini | ||
| resourcefile6.plist | ||
| tst_qsettings.cpp | ||