PDA

View Full Version : Qt 4.6.4: conversion from JSC::UString to WebCore::String



Moody
14th July 2012, 14:33
Trying to compile qt-4.6.4 I get the following error with webkit:

bindings/js/ScriptValue.h: In member function ‘WebCore::String WebCore::ScriptValue::toString(WebCore::ScriptStat e*) const’:
bindings/js/ScriptValue.h:49:96: error: could not convert ‘JSC::JSValue::toString(JSC::ExecState*) const(scriptState)’ from ‘JSC::UString’ to ‘WebCore::String’

I could not find any older 4.6.x versions on the download page to give it a try. And unfortunately
4.8.x does not work with another application that still depends on 4.6.x. Any idea how to
compile 4.6.4 with webkit support?

Moody
14th July 2012, 19:58
This is confusing. There are several download pages:

http://releases.qt-project.org/qt4/source/
http://get.qt.nokia.com/qt/source/

Only the latter contains older versions of the 4.6.x branch.

Now I've tried other 4.6.x but all bail out with the same error message when
compiling webkit. Oh my.

Moody
19th July 2012, 16:08
I didn't succeed in compiling qt-4.6.4 with its internal webkit. But the following did work:

1) compile qt-4.6.4 without webkit; i.e. with option --no-webkit
2) download webkit separately <http://gitorious.org/webkit/qtwebkit/trees/qtwebkit-4.6> and use the script .../WebKitTools/Script/build-webkit to compile it. Install files manually from .../WebKitBuild/Release.