diff options
author | Alexey Edelev <alexey.edelev@qt.io> | 2021-11-23 16:20:46 +0100 |
---|---|---|
committer | Alexey Edelev <alexey.edelev@qt.io> | 2022-03-15 13:37:42 +0100 |
commit | 1e1f7587b054cb3c3c75499f787f0bf5712af9d8 (patch) | |
tree | fc00dd09a71b9e5aa78029a31a21e11e3f569057 /src/location/qlocationglobal.h | |
parent | 7bc460aaafbaec6fca974c80a272b189545e6bb8 (diff) | |
download | qtlocation-1e1f7587b054cb3c3c75499f787f0bf5712af9d8.tar.gz |
Migrate to autogenerated cpp exports
Replace the hardcoded cpp exports with a generated one where it's
applicable.
Task-number: QTBUG-90492
Change-Id: I5cd8ca3db6a6c715e065d3559fa89d3b64e06f61
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'src/location/qlocationglobal.h')
-rw-r--r-- | src/location/qlocationglobal.h | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/src/location/qlocationglobal.h b/src/location/qlocationglobal.h index 997bb977..6a3c2fc6 100644 --- a/src/location/qlocationglobal.h +++ b/src/location/qlocationglobal.h @@ -40,24 +40,11 @@ #define QLOCATIONGLOBAL_H #include <QtCore/qglobal.h> - -QT_BEGIN_NAMESPACE - -#ifndef QT_STATIC -# if defined(QT_BUILD_LOCATION_LIB) -# define Q_LOCATION_EXPORT Q_DECL_EXPORT -# else -# define Q_LOCATION_EXPORT Q_DECL_IMPORT -# endif -#else -# define Q_LOCATION_EXPORT -#endif +#include <QtLocation/qtlocationexports.h> #ifdef Q_CLANG_QDOC #include "QtLocation/qlocation.h" #endif -QT_END_NAMESPACE - #endif // QLOCATIONGLOBAL_H |