path: root/src/gui/animation/animation.pri
diff options
authorThiago Macieira <>2022-06-21 11:08:58 -0700
committerThiago Macieira <>2022-06-28 15:07:41 -0700
commit688e8f63a2bb87469517166f90c50dec524f90c5 (patch)
tree8678a48dc4deb6c31c1d80a23c09daf2794e8743 /src/gui/animation/animation.pri
parent9af59838d7ba166966941199354f905b0a122cab (diff)
moc: fix const-init for WindowsHEADdev
References to __declspec(dllimport) is not a constant expression on Windows, so we can't have a direct reference to a staticMetaObject. Commit 9b8493314dd77f3e96b353187816bb7ef4dedbb5 fixed the Q_OBJECT parent link (added in 5.14, kicked in for 6.0 with the ABI break), but commit 656d6f2a9b221dbd5adfc46262cb243e696d8d62 added links for Q_GADGETs too without taking the need for Windows DLLs into account. This change is a no-op everywhere but Windows. On Windows, since we store the pointer to the indirect getter function, now you may get non- null pointers from QMetaObject::superClass(). Pick-to: 6.4 Change-Id: I6d3880c7d99d4fc494c8fffd16fab51aa255106e Reviewed-by: Qt CI Bot <> Reviewed-by: Fabian Kosmale <>
Diffstat (limited to 'src/gui/animation/animation.pri')
0 files changed, 0 insertions, 0 deletions