Results 1 to 3 of 3

Thread: Qt 4.6.4: conversion from JSC::UString to WebCore::String

  1. #1
    Join Date
    Jul 2012
    Posts
    3

    Default Qt 4.6.4: conversion from JSC::UString to WebCore::String

    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?

  2. #2
    Join Date
    Jul 2012
    Posts
    3

    Default Re: Qt 4.6.4: conversion from JSC::UString to WebCore::String

    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.

  3. #3
    Join Date
    Jul 2012
    Posts
    3

    Default Re: Qt 4.6.4: conversion from JSC::UString to WebCore::String

    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.

Similar Threads

  1. Replies: 4
    Last Post: 3rd January 2011, 22:00
  2. Replies: 7
    Last Post: 28th December 2010, 20:27
  3. conversion between string to hex and vice versa
    By mohanakrishnan in forum Newbie
    Replies: 2
    Last Post: 5th December 2009, 11:25
  4. int to String Conversion
    By aj2903 in forum Qt Programming
    Replies: 4
    Last Post: 4th December 2009, 22:43
  5. Conversion Char Array to string
    By anafor2004 in forum Newbie
    Replies: 6
    Last Post: 6th May 2008, 14:35

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.