summaryrefslogtreecommitdiffstats
path: root/qtwebkit.pri
diff options
context:
space:
mode:
authorRohan McGovern <rohan.mcgovern@nokia.com>2011-07-08 12:52:07 +1000
committerQt by Nokia <qt-info@nokia.com>2011-07-08 09:24:12 +0200
commit1ef87b6c073d76d33ced29dda9383eac9d85d9d3 (patch)
tree424204b56143a9a4546cac0bd06720db96c3e8fc /qtwebkit.pri
parent435a7c7739eed93acd783a7bca2755668f4e1d28 (diff)
qtwebkit: work around compile failure in npapi when using qpa
The current version of qtwebkit used in qt5 does not work with Qt/QPA. The problem is in the netscape plugin API's usage of QX11EmbedContainer. Disable the netscape plugin API until qtwebkit in qt5 can be updated to a fixed version. Change-Id: I833bfff2f1b1059810206b4160494eb59734b5ea Reviewed-on: http://codereview.qt.nokia.com/1337 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Simon Hausmann <simon.hausmann@nokia.com>
Diffstat (limited to 'qtwebkit.pri')
-rw-r--r--qtwebkit.pri4
1 files changed, 4 insertions, 0 deletions
diff --git a/qtwebkit.pri b/qtwebkit.pri
index 05665e0c..40ddf5bb 100644
--- a/qtwebkit.pri
+++ b/qtwebkit.pri
@@ -41,6 +41,10 @@ else:qtwebkit_tools_dir = Tools
QTWEBKIT_BUILD_CONFIG =
contains(CONFIG, release):!contains(CONFIG, debug_and_release): {QTWEBKIT_BUILD_CONFIG = --release}
+# npapi does not work for qpa, as of qtwebkit 81b8dac16049715b94dc36256bd9f433f7dfacc5 .
+# This should be reverted once npapi either works, or gracefully disables itself, for qpa.
+qpa:QTWEBKIT_BUILD_CONFIG += --no-netscape-plugin
+
# The '+' is to make parallel "make" work across the script boundary.
module_qtwebkit.commands = $${OPTI}$${SBC}cd qtwebkit && \
$$env_export \"WEBKITOUTPUTDIR=$$OUT_PWD/qtwebkit/WebKitBuild\" && $$GNUTOOLS \