QSvgNode hierarchy: de-inline dtors


Destructors of polymophic classes should be defined out-of-line, even
if empty, to avoid -Wweak-vtable and all the bad side effects that
weak vtables entail.

For the few dtors that were already out-of-line, add the override
keyword, if missing, and standardize on =default instead of {}. Also
move the ~QSvgStructureNode definition out of the QSvgG group and
behind the QSvgStructureNode ctor, where it belongs.

Amends many, but essentially the start of the public history.

When picking back, will just drop changes to classes that had not been
added in that branch. This is a best-effort change for older branches.

Task-number: QTBUG-45582
Pick-to: 6.11 6.8
Change-Id: I34db2f1a9283b4c8ffcaee61321a91dd322d4e45
Reviewed-by: Hatem ElKharashy <hatem.elkharashy@qt.io>
commit1bf60cb521b0e762483366094a92f3bac327e092
parent6419b2eaf002fa4b79e31e98ac3a26f7b93649e4
authorMarc Mutz <marc.mutz@qt.io>
committerMarc Mutz <marc.mutz@qt.io>
commit timeWed, 29 Apr 2026 11:53:05 +0000