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 _______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest