summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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