qt5base-lts/doc/global
Marc Mutz a0f9aef11b Long live Q_GADGET_EXPORT!
Like Q_NAMESPACE_EXPORT for Q_NAMESPACE, this variant of Q_GADGET
allows passing an export macro. This is useful to avoid exporting the
whole class just to get the staticMetaObject hidden therein exported.

Before anyone asks: No, we don't need Q_OBJECT_EXPORT, because QObject
subclasses, being polymorphic, always need to have a class-level
export macro (to export their vtable), but while that technique also
works for value classes (the Q_GADGET audience), it is not desirable
for them, because it makes inline functions exported in Windows debug
builds, which is not what we want, because it needlessly restricts
what you can to with the inline functions (e.g. remove).

[ChangeLog][QtCore] Added the Q_GADGET_EXPORT macro, which is like
Q_GADGET, but allows passing an export macro (like Q_NAMESPACE_EXPORT
for Q_NAMESPACE).

Fixes: QTBUG-55458
Change-Id: I546297de1e8aa45d83381991bcd3fbca61e1eef0
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
2021-11-27 01:25:10 +01:00
..
externalsites Doc: Update Microsoft's Documentation Links 2021-09-23 15:55:59 +00:00
includes Doc: Fix reference to Qt5 CMake package 2020-11-19 17:27:30 +01:00
includes-online
template Doc: Add styling for note/warning/important admonitions 2021-11-03 16:47:18 +02:00
compat.qdocconf
config.qdocconf Bump copyright year to 2021 2021-01-25 20:00:44 +01:00
externalsites.qdocconf
fileextensions.qdocconf
html-config.qdocconf
html-footer-online.qdocconf Bump copyright year to 2021 2021-01-25 20:00:44 +01:00
html-footer.qdocconf Bump copyright year to 2021 2021-01-25 20:00:44 +01:00
html-header-offline.qdocconf
html-header-online.qdocconf
macros-online.qdocconf Doc: Make \youtube macro work with litehtml help backend 2020-12-01 08:12:09 +00:00
macros.qdocconf Doc: Add \QtMajorVersion macro 2021-11-10 13:31:05 +01:00
manifest-meta.qdocconf Doc: Add thumbnail for Widgets Gallery Example 2020-11-30 17:16:22 +01:00
qt-cpp-defines.qdocconf Long live Q_GADGET_EXPORT! 2021-11-27 01:25:10 +01:00
qt-html-templates-offline-simple.qdocconf Doc: Adjust offline style for the litehtml rendering engine 2020-03-26 15:28:31 +01:00
qt-html-templates-offline.qdocconf Merge remote-tracking branch 'origin/5.12' into 5.13 2019-05-09 13:06:11 +00:00
qt-html-templates-online.qdocconf Merge remote-tracking branch 'origin/5.12' into 5.13 2019-05-09 13:06:11 +00:00
qt-module-defaults-offline.qdocconf doc/global: Remove references to Qt 5 in comments 2020-11-19 17:27:30 +01:00
qt-module-defaults-online-commercial.qdocconf Doc: Update global documentation config for Qt 6 2020-06-08 13:41:07 +02:00
qt-module-defaults-online.qdocconf Bump copyright year to 2021 2021-01-25 20:00:44 +01:00
qt-module-defaults.qdocconf doc/global: Remove references to Qt 5 in comments 2020-11-19 17:27:30 +01:00