Le 13/02/2017 à 20:55, Jean-Marc Lasgouttes a écrit :
What I mean is that you can easily force QCache into shared ownership by replacingQCache<docstring, QTextLayout> with QCache<docstring, shared_ptr<QTextLayout>> and create the appropriate wrappers for insertion and retrieval.
Could you have a go at this solution? JMarc