[Development] Symbol clashes with static Qt libraries

Thiago Macieira thiago.macieira at intel.com
Wed Aug 1 18:41:54 CEST 2018


On Wednesday, 1 August 2018 06:48:40 PDT Tor Arne Vestbø wrote:
> > On 1 Aug 2018, at 15:45, Kai Koehne <Kai.Koehne at qt.io> wrote:
> > 
> > Alright, so it seems we have to prefix the symbols we can't hide by static
> > or anonymous namespaces ...
 
> > For logging categories, I'd like to start using 'qlc' as prefix. See also
> > change https://codereview.qt-project.org/#/c/235631/ for qtbase.
> 
> Namespaces doesn’t work for that?

Namespaces do. Unnamed namespaces don't (used across multiple files).

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center






More information about the Development mailing list