[Interest] QPlugin and RTTI
Thiago Macieira
thiago.macieira at intel.com
Wed Jun 18 17:11:41 CEST 2014
Em qua 18 jun 2014, às 15:32:51, Bo Thorsen escreveu:
> You can use a static library, but then stuff like singletons won't work
> reliably.
You can't use a static library for RTTI.
In order to get the RTTI to work, the class's typeinfo needs to be in a single
place. On Windows, due to the DLL loader violating the C++ ODR rule, you need
to do this manually. You can't have a static library because that would place
the typeinfo in multiple places.
--
Thiago Macieira - thiago.macieira (AT) intel.com
Software Architect - Intel Open Source Technology Center
More information about the Interest
mailing list