[Development] QProperty and library coding guide
Olivier Goffart
olivier at woboq.com
Fri Jul 17 19:12:06 CEST 2020
On 17/07/20 19:00, Thiago Macieira wrote:
> On Friday, 17 July 2020 09:34:54 PDT Lars Knoll wrote:
>>> I'll just post this and let you ponder the consequences of this choice for
>>> Linux:
>>> https://godbolt.org/z/nhex5x
>>
>> Yes, that’s why we need to encode that into a static_assert(). But the
>> support it coming to all compilers and Linux desktops will support the
>> feature both with gcc and clang. I’m pretty sure ICC will follow soon.
>
> Sure.
>
> But to be clear: we're saying the MINIMUM versions of GCC and Clang for Qt 6.0
> are 9.0. GCC 9 was released in May 2019 and LLVM 9 was released in September
> 2019.
>
> Apple Clang in the current XCode does NOT support it.
>
> Versions of mainstream Linux distributions with GCC 9:
> * Debian: testing
> * Fedora: 30
> * openSUSE: 15.2
> * Ubuntu: 19.10
> (Arch, Clear, Gentoo are rolling releases)
>
> If you're not working from home, go around in the office and ask who's running
> anything older.
>
Maybe use the GCC extension of using an empty array:
https://godbolt.org/z/MvE9jf
More information about the Development
mailing list