> On 21 Aug 2019, at 17:58, Thiago Macieira <thiago.macie...@intel.com> wrote:
> 
> On Wednesday, 21 August 2019 08:16:42 PDT Tor Arne Vestbø wrote:
>> That’s what I was hoping. We have QFooLiteral today to let the compiler do
>> the work up front, isn’t it possible with newer c++ standards to have that
>> happen automatically without an explicit QFooLiteral?
> 
> Yes, it's possible.
> 
> But do we want to?

Yes :)

> Remember that QStringLiteral today has a drawback: if you 
> unload the plugin it came from, any left-over uses of it may crash. That's 
> one 
> of the many reasons we don't unload plugins, but other people might.

Is that the only drawback? Is that the only reason we’re not doing it?

On macOS plugins are never unloaded. Could the behaviour be dependent on 
whether or not we’re building a plugin?

Tor Arne 
_______________________________________________
Development mailing list
Development@qt-project.org
https://lists.qt-project.org/listinfo/development

Reply via email to