[Interest] mingw64: can't compile a lib such that a Qt signal can connect successfully to a binary slot

Thiago Macieira thiago.macieira at intel.com
Sun Apr 12 14:56:38 CEST 2020


On Saturday, 11 April 2020 08:50:08 -03 Thiago Macieira wrote:
> Yes. Each class must be either:
> 
> a) be a template instantiation (absolutely everything inline and doesn't
> take addresses of any static variables)
> b) used exclusively inside one single DLL
> c) be exported from exactly one DLL and imported from all others

Another detail: if you export a class from a DLL, then you do not moc it in 
another.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel System Software Products





More information about the Interest mailing list