[Webkit-unassigned] [Bug 34519] [Qt] Applications using QtWebKit fail to build if Qt was built with -no-script

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Feb 4 03:03:03 PST 2010


https://bugs.webkit.org/show_bug.cgi?id=34519





--- Comment #6 from Bernhard Rosenkraenzer <bero at arklinux.org>  2010-02-04 03:03:03 PST ---
The check for BUILD_WEBKIT is there because at build time (still talking about
building QtWebKit inside the Qt tree, not about building it in the standalone
tree), QtScript includes are available and the code can actually be built
(that's also the reason for the absence of an equivalent ifdef in qwebframe.cpp
-- at build time, QScriptEngine::ValueOwnership is availableand therefore it
can be built).

The thought behind allowing the 3-arg version of addToJavaScriptWindowObject to
be built into the library even with -no-script was to try to preserve binary
compatibility between versions built with -no-script and those built without
-no-script -- but given the function is not very likely to actually work in
-no-script mode, that may have been overly cautious.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list