diff options
| author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2023-01-13 10:18:00 +0100 |
|---|---|---|
| committer | Axel Spoerl <axel.spoerl@qt.io> | 2023-02-01 19:12:36 +0100 |
| commit | bd5589de658a91676b0cf36e154c19985fb7be88 (patch) | |
| tree | 8a59de687fad24cd94f432724c1118dd93903ad4 /src/widgets/doc/snippets/mainwindowsnippet.cpp | |
| parent | 93af309a707ea2ab133e281d837ac37b1351fb47 (diff) | |
QtWidgets: Fix errors about fields from anonymous namespaces (-Werror=subobject-linkage)
Move types to QtPrivate, fixing errors like:
error: QCalendarWidgetPrivate’ has a field
QCalendarWidgetPrivate::m_model whose type uses the anonymous namespace [-Werror=subobject-linkage]
The error appears in CMake Unity (Jumbo) builds apparently
due to multiple anonymous namespaces per file.
Task-number: QTBUG-109394
Pick-to: 6.5
Change-Id: Id678af4db5633b1b2267425c7751f1312935d5d5
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
Reviewed-by: Jan Arve Sæther <jan-arve.saether@qt.io>
Diffstat (limited to 'src/widgets/doc/snippets/mainwindowsnippet.cpp')
0 files changed, 0 insertions, 0 deletions
