summaryrefslogtreecommitdiff
path: root/Source/WebCore/platform/graphics/gstreamer/PlatformVideoWindowPrivate.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/platform/graphics/gstreamer/PlatformVideoWindowPrivate.h')
-rw-r--r--Source/WebCore/platform/graphics/gstreamer/PlatformVideoWindowPrivate.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/WebCore/platform/graphics/gstreamer/PlatformVideoWindowPrivate.h b/Source/WebCore/platform/graphics/gstreamer/PlatformVideoWindowPrivate.h
index 33600f696..b929e90e4 100644
--- a/Source/WebCore/platform/graphics/gstreamer/PlatformVideoWindowPrivate.h
+++ b/Source/WebCore/platform/graphics/gstreamer/PlatformVideoWindowPrivate.h
@@ -23,7 +23,7 @@
#include <QEvent>
#include <QTimer>
-#if QT_VERSION >= QT_VERSION_CHECK(5, 0, 0)
+#if defined(HAVE_QT5) && HAVE_QT5
#include <QWindow>
#else
#include <QWidget>
@@ -33,7 +33,7 @@ namespace WebCore {
class HTMLVideoElement;
-#if QT_VERSION >= QT_VERSION_CHECK(5, 0, 0)
+#if defined(HAVE_QT5) && HAVE_QT5
typedef QWindow Base;
#else
typedef QWidget Base;