[Development] RFD: plugins vs QStringLiterals

Robin Burchell robin+qt at viroteck.net
Thu Nov 5 18:23:37 CET 2015


On Thu, Nov 5, 2015, at 06:13 PM, Oswald Buddenhagen wrote:
> > Problem: performance impact, complexity of the atom/quark solution.
> > 
> to lessen the performance impact, we could have a #define to control the
> construction behavior of QSL at compile time. i'm not quite sure whether
> to make that opt-in or opt-out (safety vs. performance).

Is the problem only apparent inside of plugins? Do we have a way to
detect whether someone is building plugin code at build time? (CONFIG +=
plugin for qmake, I guess?) If so, couldn't the behaviour of
QStringLiteral differ for code inside of plugins, to that outside of
them?

Robin



More information about the Development mailing list