Qt Widgets Designer: Fix linking tst_qdesignermetaflags in static builds
The Designer library defines QT_DESIGNER_STATIC only privately, so
consumers have to define it themselves in static builds. Without it,
QDESIGNER_SHARED_EXPORT expands to dllimport and the test fails to
link on Windows.
Amends 9f64ee0cb981c7e3e2d51cccbab43945cb0ef150
Pick-to: 6.12 6.8
Change-Id: I1c41ed782db9315de017107244521cba75f80dde
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
| commit | 90612dabfbee591d72d0ba7c97f65c6fbde2a757 |
| parent | da04c5df8302ce1cc3576e0952bdfc1cc6a40b14 |
| author | Jarek Kobus <jaroslaw.kobus@qt.io> |
| committer | Jarek Kobus <jaroslaw.kobus@qt.io> |
| commit time | Wed, 23 Sep 2026 06:58:52 +0000 |