Re: [Development] Exporting classes wholesale

2024-09-04 Thread Alexey Edelev via Development
eu-north-1.amazonaws.com/email-signature-tool-leroy/youtube-x2.png] <https://www.youtube.com/QtStudios> From: Development on behalf of Marc Mutz via Development Sent: Wednesday, September 4, 2024 10:56 AM To: development@qt-project.org Subject: [Developm

[Development] Exporting classes wholesale

2024-09-04 Thread Marc Mutz via Development
Hi, TL;DR: Never export non-polymorphic classes at class-level and always define destructors of polymorphic classes, and define them out-of-line. The class-level export macro used to be a trigger for syncqt to generate a forwarding QClass header, so every public class had them in the past, an