Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Problem with building QtWebkit 2.3 for Qt4
Forum Updated to NodeBB v4.3 + New Features

Problem with building QtWebkit 2.3 for Qt4

Scheduled Pinned Locked Moved General and Desktop
4 Posts 3 Posters 2.3k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    AcerExtensa
    wrote on last edited by
    #1

    Hi,
    I'm new to webkit build system and have run in following problem:
    Last week I have found this link to kde blog with QtWebKit 2.3 for Qt4. I have read how to build webkit on windows from this link http://trac.webkit.org/wiki/BuildingQtOnWindows and have created batch environment with which I'm able to build Qt4 itself:
    @
    @echo Setting environment for QT4_GIT with MingW

    @rem PATH
    @rem LIB
    @rem INCLUDE
    @rem LIBPATH

    @set PATH=c:\QT\QT4_GIT\bin
    @set PATH=c:\QT\MinGW\bin;%PATH%
    @set PATH=c:\QT\icu_x86\bin;%PATH%
    @set PATH=c:\QT\gnuwin32\bin;%PATH%
    @set PATH=c:\Python27;c:\Python27\Scripts;%PATH%
    @set PATH=c:\QT\Perl\site\bin;c:\QT\Perl\bin;%PATH%
    @set PATH=c:\QT\Ruby193\bin;%PATH%
    @set PATH=c:\Windows\system32\Wbem;c:\Windows\system32;c:\WINDOWS;%PATH%

    @set LIB=c:\QT\QT4_GIT\lib
    @set LIB=c:\QT\gnuwin32\lib;%LIB%
    @set LIB=c:\QT\MinGW\lib;%LIB%
    @set LIB=c:\QT\icu_x86\lib;%LIB%

    @set INCLUDE=c:\QT\QT4_GIT\include
    @set INCLUDE=c:\QT\icu_x86\include;%INCLUDE%
    @set INCLUDE=c:\QT\gnuwin32\include;%INCLUDE%
    @set INCLUDE=c:\QT\MinGW\include;%INCLUDE%

    @set QTDIR=c:\Qt\QT4_GIT

    @

    all needed GNU tools are installed into gnuwin32(bison,winflex, etc..)

    But then I try to build WebKit It fails on first DerivedSources:

    @
    ....................
    WARNING: Failure to find: generated\JSXSLTProcessor.cpp
    WARNING: Failure to find: generated\InspectorFrontend.cpp
    WARNING: Failure to find: generated\InspectorBackendDispatcher.cpp
    WARNING: Failure to find: generated\InspectorTypeBuilder.cpp
    WARNING: Failure to find: generated\CSSGrammar.cpp
    WARNING: Failure to find: generated\HTMLNames.cpp
    WARNING: Failure to find: generated\HTMLElementFactory.cpp
    WARNING: Failure to find: generated\JSHTMLElementWrapperFactory.cpp
    WARNING: Failure to find: generated\XMLNSNames.cpp
    WARNING: Failure to find: generated\XMLNames.cpp
    WARNING: Failure to find: generated\WebKitFontFamilyNames.cpp
    WARNING: Failure to find: generated\EventFactory.cpp
    WARNING: Failure to find: generated\ExceptionCodeDescription.cpp
    WARNING: Failure to find: generated\HTMLEntityTable.cpp
    WARNING: Failure to find: generated\ColorData.cpp
    WARNING: Failure to find: generated\UserAgentStyleSheetsData.cpp
    WARNING: Failure to find: generated\XPathGrammar.cpp
    make -f Makefile.WebCore.DerivedSources
    make[3]: Entering directory C:/QT/webkit/WebKitBuild/Release/Source/WebCore' make -f Makefile.WebCore.DerivedSources.Release make[4]: Entering directory C:/QT/webkit/WebKitBuild/Release/Source/WebCore'
    make[4]: *** Keine Regel vorhanden, um das Target �generated/MathMLNames.cpp�,
    ben�tigt von �obj/release/MathMLNames.o�, zu erstellen. Schluss.
    make[4]: Leaving directory C:/QT/webkit/WebKitBuild/Release/Source/WebCore' make[3]: *** [release] Fehler 2 make[3]: Leaving directory C:/QT/webkit/WebKitBuild/Release/Source/WebCore'
    make[2]: *** [sub-DerivedSources-pri-make_for_qmake] Fehler 2
    make[2]: Leaving directory C:/QT/webkit/WebKitBuild/Release/Source/WebCore' make[1]: *** [sub-Source-WebCore-WebCore-pro-recursive_qmake] Fehler 2 make[1]: Leaving directory C:/QT/webkit/WebKitBuild/Release'
    make: *** [incremental] Fehler 2
    @

    It looks like it some precompiled code are not generated. How can I fix it? Is there some kind of tool like qtsync for doing that? Thanks in advance!

    God is Real unless explicitly declared as Integer.

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SRI_QT_developer
      wrote on last edited by
      #2

      Hi,

      I am also facing same kind of error. Please post your comments if you were able to solve it.

      Thanks in advance.

      1 Reply Last reply
      0
      • K Offline
        K Offline
        kevin0722
        wrote on last edited by
        #3

        Did you do a top-down build of overall Qt libraries first?

        Checking out a fresh Qt source tree and directly try to build QtWebKit would probably give the error you are seeing.

        1 Reply Last reply
        0
        • S Offline
          S Offline
          SRI_QT_developer
          wrote on last edited by
          #4

          Hi,

          I didnt build QT libraries. I have downloaded the pre-built mingw QT libraries and used them for building webkit source stree.

          1 Reply Last reply
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved