Unreviewed Qt 4.x build fix.
authorhausmann@webkit.org <hausmann@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 15 Feb 2012 15:56:59 +0000 (15:56 +0000)
committerhausmann@webkit.org <hausmann@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 15 Feb 2012 15:56:59 +0000 (15:56 +0000)
* WebCoreSupport/PageClientQt.cpp: Fix the QT_VERSION_CHECK pre-processor foo.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@107819 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebKit/qt/ChangeLog
Source/WebKit/qt/WebCoreSupport/PageClientQt.cpp

index 02546ea..f3f7b4c 100644 (file)
@@ -1,5 +1,11 @@
 2012-02-15  Simon Hausmann  <simon.hausmann@nokia.com>
 
+        Unreviewed Qt 4.x build fix.
+
+        * WebCoreSupport/PageClientQt.cpp: Fix the QT_VERSION_CHECK pre-processor foo.
+
+2012-02-15  Simon Hausmann  <simon.hausmann@nokia.com>
+
         [Qt] Replace use of QGLWidget/QGLContext with QOpenGLContext and QSurface for Qt 5
         https://bugs.webkit.org/show_bug.cgi?id=78694
 
index bb376b7..6f96ce1 100644 (file)
@@ -30,7 +30,7 @@
 #if ENABLE(WEBGL)
 #include <QGLWidget>
 
-#if QT_VERSION_CHECK(5, 0, 0)
+#if QT_VERSION >= QT_VERSION_CHECK(5, 0, 0)
 #include <QWindow>
 #endif