Do not export non-polymorphic classes wholesale


... export only out-of-line members instead.

That is required because when the class is exported wholesale, MSVC
also exports inline members, which unnecessarily makes them part of
the ABI.

Pointed out during Qt 6.5 API review.

Pick-to: 6.5
Change-Id: I113da5e14ed567e8164ef84df87600e320c1d2fd
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
commit8221bc17dc0ec63a95b8a20d24651c946c738e9e
parent8db3c1142248e4564e8b90db61ad1bdf13164453
authorIvan Solovev <ivan.solovev@qt.io>
committerIvan Solovev <ivan.solovev@qt.io>
commit timeThu, 26 Jan 2023 15:13:02 +0100