[Development] Qt 6: inline namespace Qt

Konstantin Tokarev annulen at yandex.ru
Fri Sep 6 20:05:31 CEST 2019

06.09.2019, 20:28, "Thiago Macieira" <thiago.macieira at intel.com>:
> On Friday, 6 September 2019 09:04:09 PDT Giuseppe D'Angelo via Development
> wrote:
>>  I was actually proposing option A, to avoid clashes. The Qt:: namespace
>>  at the moment is simply too big to reasonably claim that there will be
>>  no conflicts. A few examples that come into mind: Qt::horizontal,
>>  Qt::vertical, Qt::[color name], Qt::SHIFT, Qt::Monday, Qt::XAxis.
>>  Option C does not work, a namespace is either entirely inline or it's not.
> Option D: the inline namespace gets another name, something different from
> "Qt".
> Suggestion: Qt6


I think this is the only sensible choice


More information about the Development mailing list