diff options
author | Ulf Hermann <[email protected]> | 2022-01-25 10:44:45 +0100 |
---|---|---|
committer | Ulf Hermann <[email protected]> | 2022-02-01 09:34:19 +0100 |
commit | 25aab20ad3fa63acc7d76be022a4303f005a9f8a (patch) | |
tree | b2adeb5e2e1aa81a2b39e8abb42101ac8f6b3640 /src/labs/sharedimage | |
parent | 7efcb0e34933ee6ac29f9de35c0fe7146049c221 (diff) |
Move registrations functions into the Qt namespace
It's high time we do this. We should not clobber the global namespace
with type registration functions if the user has explicitly provided a
namespace for Qt.
Change-Id: Ibac49cb1c8976e65ea15d7a07d25ea1a5325a60a
Reviewed-by: Andrei Golubev <[email protected]>
Reviewed-by: Shawn Rutledge <[email protected]>
Reviewed-by: Fabian Kosmale <[email protected]>
Diffstat (limited to 'src/labs/sharedimage')
-rw-r--r-- | src/labs/sharedimage/qtlabssharedimageglobal_p.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/labs/sharedimage/qtlabssharedimageglobal_p.h b/src/labs/sharedimage/qtlabssharedimageglobal_p.h index a517905d80..de4edcc859 100644 --- a/src/labs/sharedimage/qtlabssharedimageglobal_p.h +++ b/src/labs/sharedimage/qtlabssharedimageglobal_p.h @@ -55,6 +55,10 @@ #include <QtLabsSharedImage/private/qtlabssharedimageexports_p.h> +QT_BEGIN_NAMESPACE + void Q_LABSSHAREDIMAGE_PRIVATE_EXPORT qml_register_types_Qt_labs_sharedimage(); +QT_END_NAMESPACE + #endif // QTLABSSHAREDIMAGEGLOBAL_P_H |