[Development] Qt 6: inline namespace Qt

Lars Knoll lars.knoll at qt.io
Fri Sep 6 14:34:26 CEST 2019


> On 6 Sep 2019, at 14:10, Giuseppe D'Angelo via Development <development at qt-project.org> wrote:
> 
> Il 06/09/19 11:26, Mutz, Marc via Development ha scritto:
>> The change is SC, and makes namespaced and non-namespaced builds behave
>> the same.
> 
> Small question: the claim here is that the change is SC; however below it's pointed out that there may be slight differences in name lookup (in some super-corner cases, I concede). That would make it non-SC. Which one is it? :-)
> 
> (Disclaimer: I would agree with the change, cf. the Qt::endl discussion with gerrit).

Wouldn’t that pull all the enum value in the current Qt namespace into the users namespace? Things like Qt::AlignLeft? I can’t see how moving from requiring the Qt prefix there to not requiring it anymore is an improvement.

Cheers,
Lars



More information about the Development mailing list