diff options
author | alex <alex.blasche@nokia.com> | 2011-10-18 13:16:01 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-10-19 04:31:08 +0200 |
commit | cd7623c19f708b0e37897dae7320478d13ddbc78 (patch) | |
tree | b609146c3c28bf7f0c43259bc52cceddbbcc0ac9 /src/corelib/global/qglobal.h | |
parent | afb80f0cd93fa31b94b22e4d0cedb55af14f2d89 (diff) |
Remove Sensors and Location related macros/defines from qglobal.h.
This reduces interdependencies between QtCore and other modules.
Individual modules handle this by themselves.
Change-Id: I82cb96326b8ccb0b6acb88d899ed811f80f47ec1
Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
Diffstat (limited to 'src/corelib/global/qglobal.h')
-rw-r--r-- | src/corelib/global/qglobal.h | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/src/corelib/global/qglobal.h b/src/corelib/global/qglobal.h index a2290f0241..5f8e6be893 100644 --- a/src/corelib/global/qglobal.h +++ b/src/corelib/global/qglobal.h @@ -1350,16 +1350,6 @@ class QDataStream; # else # define Q_DBUS_EXPORT Q_DECL_IMPORT # endif -# if defined(QT_BUILD_LOCATION_LIB) -# define Q_LOCATION_EXPORT Q_DECL_EXPORT -# else -# define Q_LOCATION_EXPORT Q_DECL_IMPORT -# endif -# if defined(QT_BUILD_SENSORS_LIB) -# define Q_SENSORS_EXPORT Q_DECL_EXPORT -# else -# define Q_SENSORS_EXPORT Q_DECL_IMPORT -# endif # define Q_TEMPLATEDLL # elif defined(QT_DLL) /* use a Qt DLL library */ # define Q_CORE_EXPORT Q_DECL_IMPORT @@ -1382,8 +1372,6 @@ class QDataStream; # define Q_SCRIPTTOOLS_EXPORT Q_DECL_IMPORT # define Q_COMPAT_EXPORT Q_DECL_IMPORT # define Q_DBUS_EXPORT Q_DECL_IMPORT -# define Q_LOCATION_EXPORT Q_DECL_IMPORT -# define Q_SENSORS_EXPORT Q_DECL_IMPORT # define Q_TEMPLATEDLL # endif # define Q_NO_DECLARED_NOT_DEFINED @@ -1417,8 +1405,6 @@ class QDataStream; # define Q_SCRIPTTOOLS_EXPORT Q_DECL_EXPORT # define Q_COMPAT_EXPORT Q_DECL_EXPORT # define Q_DBUS_EXPORT Q_DECL_EXPORT -# define Q_LOCATION_EXPORT Q_DECL_EXPORT -# define Q_SENSORS_EXPORT Q_DECL_EXPORT # else # define Q_CORE_EXPORT # define Q_GUI_EXPORT @@ -1439,8 +1425,6 @@ class QDataStream; # define Q_SCRIPTTOOLS_EXPORT # define Q_COMPAT_EXPORT # define Q_DBUS_EXPORT -# define Q_LOCATION_EXPORT -# define Q_SENSORS_EXPORT # endif #endif @@ -2600,8 +2584,6 @@ Q_CORE_EXPORT int qt_symbian_exception2Error(const std::exception& ex); #define QT_MODULE_OPENVG 0x020000 #define QT_MODULE_MULTIMEDIA 0x040000 #define QT_MODULE_DECLARATIVE 0x080000 -#define QT_MODULE_LOCATION 0x100000 -#define QT_MODULE_SENSORS 0x200000 /* Qt editions */ #define QT_EDITION_CONSOLE (QT_MODULE_CORE \ @@ -2634,8 +2616,6 @@ Q_CORE_EXPORT int qt_symbian_exception2Error(const std::exception& ex); | QT_MODULE_HELP \ | QT_MODULE_TEST \ | QT_MODULE_DBUS \ - | QT_MODULE_LOCATION \ - | QT_MODULE_SENSORS \ | QT_MODULE_ACTIVEQT) #define QT_EDITION_DESKTOP (QT_EDITION_OPENSOURCE) #define QT_EDITION_UNIVERSAL QT_EDITION_DESKTOP @@ -2709,12 +2689,6 @@ QT_LICENSED_MODULE(Test) #if (QT_EDITION & QT_MODULE_DBUS) QT_LICENSED_MODULE(DBus) #endif -#if (QT_EDITION & QT_MODULE_LOCATION) -QT_LICENSED_MODULE(Location) -#endif -#if (QT_EDITION & QT_MODULE_SENSORS) -QT_LICENSED_MODULE(Sensors) -#endif #define QT_MODULE(x) \ typedef QtValidLicenseFor##x##Module Qt##x##Module; |