[Qt-interest] Segmentation fault while converting from QString to char*

J-P Nurmi jpnurmi at gmail.com
Mon Apr 19 11:24:11 CEST 2010


On Mon, Apr 19, 2010 at 11:30 AM, Alexandre Beraud <aberaud at infflux.com> wrote:
> This is not the reason for the crash, since he stores the QByteArray
> which stays alive at least until the strcpy finishes its job. However,
> that is a mistake that one could easily make.
> Regards,
>
> Alex

Oops, right. My bad. It's just so common mistake, you know... ;-)

--
J-P Nurmi



More information about the Qt-interest-old mailing list