summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGeorge Kiagiadakis <george.kiagiadakis@collabora.com>2013-05-30 20:43:07 +0300
committerGeorge Kiagiadakis <george.kiagiadakis@collabora.com>2013-06-05 12:18:37 +0300
commitc54b78996c5937bd11b925231f41c3ef771e41d8 (patch)
tree926185089b4191144574ff7280d4a1ee9e7c96ea /src
parentaffe35c2e23b99396dbd85712355b09066c61dc2 (diff)
qt5: Fix the export macros to work with the Qt5* library names
Diffstat (limited to 'src')
-rw-r--r--src/QGlib/global.h2
-rw-r--r--src/QGst/Ui/global.h2
-rw-r--r--src/QGst/Utils/global.h2
-rw-r--r--src/QGst/global.h2
4 files changed, 4 insertions, 4 deletions
diff --git a/src/QGlib/global.h b/src/QGlib/global.h
index 2a091b3..57e755f 100644
--- a/src/QGlib/global.h
+++ b/src/QGlib/global.h
@@ -26,7 +26,7 @@
#include <boost/config.hpp>
/* defined by cmake when building this library */
-#if defined(QtGLib_EXPORTS)
+#if defined(QtGLib_EXPORTS) || defined(Qt5GLib_EXPORTS)
# define QTGLIB_EXPORT Q_DECL_EXPORT
#else
# define QTGLIB_EXPORT Q_DECL_IMPORT
diff --git a/src/QGst/Ui/global.h b/src/QGst/Ui/global.h
index 811a2b3..7912b73 100644
--- a/src/QGst/Ui/global.h
+++ b/src/QGst/Ui/global.h
@@ -26,7 +26,7 @@
#include <QtCore/QtGlobal>
/* defined by cmake when building this library */
-#if defined(QtGStreamerUi_EXPORTS)
+#if defined(QtGStreamerUi_EXPORTS) || defined(Qt5GStreamerUi_EXPORTS)
# define QTGSTREAMERUI_EXPORT Q_DECL_EXPORT
#else
# define QTGSTREAMERUI_EXPORT Q_DECL_IMPORT
diff --git a/src/QGst/Utils/global.h b/src/QGst/Utils/global.h
index 5e43efb..50051f4 100644
--- a/src/QGst/Utils/global.h
+++ b/src/QGst/Utils/global.h
@@ -26,7 +26,7 @@
#include <QtCore/QtGlobal>
/* defined by cmake when building this library */
-#if defined(QtGStreamerUtils_EXPORTS)
+#if defined(QtGStreamerUtils_EXPORTS) || defined(Qt5GStreamerUtils_EXPORTS)
# define QTGSTREAMERUTILS_EXPORT Q_DECL_EXPORT
#else
# define QTGSTREAMERUTILS_EXPORT Q_DECL_IMPORT
diff --git a/src/QGst/global.h b/src/QGst/global.h
index 9c301d3..f94f359 100644
--- a/src/QGst/global.h
+++ b/src/QGst/global.h
@@ -28,7 +28,7 @@
#include <QtCore/QSharedPointer>
/* defined by cmake when building this library */
-#if defined(QtGStreamer_EXPORTS)
+#if defined(QtGStreamer_EXPORTS) || defined(Qt5GStreamer_EXPORTS)
# define QTGSTREAMER_EXPORT Q_DECL_EXPORT
#else
# define QTGSTREAMER_EXPORT Q_DECL_IMPORT