diff options
author | Lars Knoll <lars.knoll@qt.io> | 2016-06-22 09:53:38 +0200 |
---|---|---|
committer | Lars Knoll <lars.knoll@qt.io> | 2016-07-03 07:55:57 +0000 |
commit | e8fe65205cb519de83685376d8441ffda2c1974e (patch) | |
tree | 4b02b37a869d4c8ef5f2921aca4b50e309cf5155 /src/corelib/global | |
parent | 5fa3e2a82e380e1ab8c8701405206b11e561600c (diff) |
Add qtguiglobal.h and qtguiglobal_p.h
The new modular configuration system requires one global
header per module, that is included by all other files in
this module.
A similar scheme and naming convention is already being used
for many other modules (e.g. printsupport, qml, quick).
That header will later on #include the configuration file
for Qt Gui. For now it defines the Q_GUI_EXPORT macro for
this library.
In addition, add a private global header, qtguiglobal_p.h,
that can later on include the private config header for
Qt Gui for things we don't want to export to the world.
Change-Id: Id9ce2a4f3d2962c3592c35e3d080574789195f24
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
Diffstat (limited to 'src/corelib/global')
-rw-r--r-- | src/corelib/global/qglobal.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/corelib/global/qglobal.h b/src/corelib/global/qglobal.h index f9d7a1c43f..fb31cd0816 100644 --- a/src/corelib/global/qglobal.h +++ b/src/corelib/global/qglobal.h @@ -296,11 +296,6 @@ typedef double qreal; # else # define Q_CORE_EXPORT Q_DECL_IMPORT # endif -# if defined(QT_BUILD_GUI_LIB) -# define Q_GUI_EXPORT Q_DECL_EXPORT -# else -# define Q_GUI_EXPORT Q_DECL_IMPORT -# endif # if defined(QT_BUILD_WIDGETS_LIB) # define Q_WIDGETS_EXPORT Q_DECL_EXPORT # else @@ -313,7 +308,6 @@ typedef double qreal; # endif #else # define Q_CORE_EXPORT -# define Q_GUI_EXPORT # define Q_WIDGETS_EXPORT # define Q_NETWORK_EXPORT #endif |