diff options
| author | Tim Blechmann <tim.blechmann@qt.io> | 2025-07-22 10:38:06 +0800 |
|---|---|---|
| committer | Thiago Macieira <thiago.macieira@intel.com> | 2025-07-26 14:27:49 +0000 |
| commit | 82eb0fc09e048b6074a9205e371a8c17576b421a (patch) | |
| tree | 6541f97fb4639c37a1b590dbcd365a075ffcc849 /src/corelib/kernel/qobject.cpp | |
| parent | 7c54f4ac44c71818a455281249b3e77636b79cdb (diff) | |
Q_IMPORT_PLUGIN: namespace RAII class
the generated StaticXXPluginInstance class is globally visible and not
properly namespaced.
Moving the imlementation and instantiation into an anonymous namespace.
[ChangeLog][Potentially Source-Incompatible Changes] The Q_IMPORT_PLUGIN
macro must be placed in file-scope. It cannot be placed into
function-scope any more, as it was never intended to be.
Pick-to: 6.10
Change-Id: I1f921259dfcf15f78acc5b09125b4e5deb50a83a
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib/kernel/qobject.cpp')
0 files changed, 0 insertions, 0 deletions
