diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2012-01-29 12:58:45 +0100 |
---|---|---|
committer | Thiago Macieira <thiago.macieira@intel.com> | 2014-08-19 03:10:25 +0200 |
commit | 48e976599ddd8e68e77230e6bcd4f5f45619954c (patch) | |
tree | e86baddf8d5a64d855966b42fe89ea2e1737666d /src/compositor/global | |
parent | 487c8e47c0fbf1b199e466e182e7ada62cb5e51a (diff) | |
download | qtwayland-48e976599ddd8e68e77230e6bcd4f5f45619954c.tar.gz |
Compile with protected visibility
Change-Id: I64fc922122e407487083c86d2a9617beea32507b
Reviewed-by: Robin Burchell <robin.burchell@viroteck.net>
Diffstat (limited to 'src/compositor/global')
-rw-r--r-- | src/compositor/global/qwaylandexport.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/compositor/global/qwaylandexport.h b/src/compositor/global/qwaylandexport.h index 4998f836..45ddc159 100644 --- a/src/compositor/global/qwaylandexport.h +++ b/src/compositor/global/qwaylandexport.h @@ -46,8 +46,10 @@ QT_BEGIN_NAMESPACE #if !defined(Q_COMPOSITOR_EXPORT) -# if defined(QT_SHARED) +# if defined(QT_SHARED) && defined(QT_BUILD_COMPOSITOR_LIB) # define Q_COMPOSITOR_EXPORT Q_DECL_EXPORT +# elif defined(QT_SHARED) +# define Q_COMPOSITOR_EXPORT Q_DECL_IMPORT # else # define Q_COMPOSITOR_EXPORT # endif |