summaryrefslogtreecommitdiffstats
path: root/src/3rdparty/webkit
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@nokia.com>2010-04-08 14:47:11 (GMT)
committerJocelyn Turcotte <jocelyn.turcotte@nokia.com>2010-04-12 19:26:55 (GMT)
commitab82e84901ba8384f75a12da82fed6a47d483038 (patch)
tree0793b89110450951cc6d6d9a2ba12b7f838226aa /src/3rdparty/webkit
parented50738fe0b5de470fb712631d922e448c2111af (diff)
downloadQt-ab82e84901ba8384f75a12da82fed6a47d483038.zip
Qt-ab82e84901ba8384f75a12da82fed6a47d483038.tar.gz
Qt-ab82e84901ba8384f75a12da82fed6a47d483038.tar.bz2
Fix the build of webkit examples on platforms without OpenGL and Multimedia
The QtWebKit module header unconditionally includes QtOpenGL, due to a syncqt bug. Apply the same workaround as in http://trac.webkit.org/changeset/53627 for OpenGL and Multimedia as link time dependencies for QtWebKit. Reviewed-by: Jocelyn Turcotte <jocelyn.turcotte@nokia.com>
Diffstat (limited to 'src/3rdparty/webkit')
-rw-r--r--src/3rdparty/webkit/WebCore/WebCore.pro4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/3rdparty/webkit/WebCore/WebCore.pro b/src/3rdparty/webkit/WebCore/WebCore.pro
index 00a85f6..bdb3f83 100644
--- a/src/3rdparty/webkit/WebCore/WebCore.pro
+++ b/src/3rdparty/webkit/WebCore/WebCore.pro
@@ -2370,7 +2370,7 @@ contains(DEFINES, ENABLE_VIDEO=1) {
HEADERS += platform/graphics/qt/MediaPlayerPrivateQt.h
SOURCES += platform/graphics/qt/MediaPlayerPrivateQt.cpp
- QT += multimedia
+ tobe|!tobe: QT += multimedia
} else {
HEADERS += \
platform/graphics/qt/MediaPlayerPrivatePhonon.h
@@ -2745,7 +2745,7 @@ contains(DEFINES, ENABLE_WEB_SOCKETS=1) {
}
contains(DEFINES, ENABLE_3D_CANVAS=1) {
-QT += opengl
+tobe|!tobe: QT += opengl
HEADERS += \
bindings/js/JSWebGLArrayBufferConstructor.h \
bindings/js/JSWebGLArrayHelper.h \