On Fri, Nov 6, 2015 at 5:20 PM, Kevin Kofler <kevin.kof...@chello.at> wrote:
> They just need to deep-copy the
> strings they return in the plugin interface with:
> QString(orig.constData(), orig.size())
> if they can be QStringLiterals and are susceptible of outliving the plugin.

Given the problem is a specific case of dangling pointers to resources
(in the plugin) about to get destroyed... in the general case, are we
playing it "nice" and offering a way for the plugin to clean up after
itself, by removing any resouce it may have given out to other
libraries which will outlive it?

-- 
Giuseppe D'Angelo
_______________________________________________
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development

Reply via email to