diff options
author | Simon Hausmann <simon.hausmann@nokia.com> | 2010-04-08 14:47:11 (GMT) |
---|---|---|
committer | Simon Hausmann <simon.hausmann@nokia.com> | 2010-04-08 14:49:03 (GMT) |
commit | b789e09d2dac82e474f0e706a7cef4c943ce1753 (patch) | |
tree | 6da05c588dca1bf05fd622050a58a9681bc9f548 /src/3rdparty | |
parent | ccf7de1412102409e15547f44b1d0bd32561de2e (diff) | |
download | Qt-b789e09d2dac82e474f0e706a7cef4c943ce1753.zip Qt-b789e09d2dac82e474f0e706a7cef4c943ce1753.tar.gz Qt-b789e09d2dac82e474f0e706a7cef4c943ce1753.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')
-rw-r--r-- | src/3rdparty/webkit/WebCore/WebCore.pro | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/3rdparty/webkit/WebCore/WebCore.pro b/src/3rdparty/webkit/WebCore/WebCore.pro index ca6bf11..f0fae81 100644 --- a/src/3rdparty/webkit/WebCore/WebCore.pro +++ b/src/3rdparty/webkit/WebCore/WebCore.pro @@ -2371,7 +2371,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 @@ -2746,7 +2746,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 \ |