Title: [107800] trunk/Tools
Revision
107800
Author
[email protected]
Date
2012-02-15 03:47:24 -0800 (Wed, 15 Feb 2012)

Log Message

[Qt] Fix WebGL in QtTestBrowser

Reviewed by Tor Arne Vestbø.

* QtTestBrowser/QtTestBrowser.pro: Set the OpenGL define so that when passing
the options for enabling GL we also pass them on properly.

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (107799 => 107800)


--- trunk/Tools/ChangeLog	2012-02-15 11:37:25 UTC (rev 107799)
+++ trunk/Tools/ChangeLog	2012-02-15 11:47:24 UTC (rev 107800)
@@ -1,3 +1,12 @@
+2012-02-15  Simon Hausmann  <[email protected]>
+
+        [Qt] Fix WebGL in QtTestBrowser
+
+        Reviewed by Tor Arne Vestbø.
+
+        * QtTestBrowser/QtTestBrowser.pro: Set the OpenGL define so that when passing
+        the options for enabling GL we also pass them on properly.
+
 2012-02-14  Sam Weinig  <[email protected]>
 
         Add #include of unistd.h on the mac for getcwd. 

Modified: trunk/Tools/QtTestBrowser/QtTestBrowser.pro (107799 => 107800)


--- trunk/Tools/QtTestBrowser/QtTestBrowser.pro	2012-02-15 11:37:25 UTC (rev 107799)
+++ trunk/Tools/QtTestBrowser/QtTestBrowser.pro	2012-02-15 11:47:24 UTC (rev 107800)
@@ -52,7 +52,10 @@
 
 contains(DEFINES, HAVE_FONTCONFIG=1): PKGCONFIG += fontconfig
 
-contains(QT_CONFIG, opengl): QT += opengl
+contains(QT_CONFIG, opengl) {
+    QT += opengl
+    DEFINES += QT_CONFIGURED_WITH_OPENGL
+}
 
 RESOURCES += \
     QtTestBrowser.qrc
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to