[webkit-qt] build qtwebkit23 on windows with MSVC and QT 4.8.2

Cheng, Bobber BCheng at intercalleurope.com
Thu Dec 13 03:08:58 PST 2012


Hi all,

Could you please share experience how to successfully compile qtwebkit23 on windows with MSVC and QT 4.8.2?  I followed the guide, http://trac.webkit.org/wiki/BuildingQtOnWindows.
o  Run perl Tools\Scripts\build-webkit --qt and cancel the script after the derived sources are all generated
o  Run perl Tools\Scripts\build-webkit --qt --qmakearg="-tp vc". This will generate MSVC project files and then it will fail
However above two commands always failed with follow error and didn't generate WebKit.sln.

Unable to determine current SVN revision in D:/working/qtwebkit-23 at D:/working
/qtwebkit-23/Tools/Scripts/VCSUtils.pm line 394.
Calling 'make  -j2' in D:\working\qtwebkit-23\WebKitBuild\Release

cd Source\WTF\ && make -f Makefile.WTF
make[1]: Entering directory `D:/working/qtwebkit-23/WebKitBuild/Release/Source/W
TF'
make -f Makefile.WTF.Release
make[2]: Entering directory `D:/working/qtwebkit-23/WebKitBuild/Release/Source/W
TF'
Makefile.WTF.Release:168: *** target pattern contains no `%'.  Stop.
make[2]: Leaving directory `D:/working/qtwebkit-23/WebKitBuild/Release/Source/WT
F'
make[1]: *** [release] Error 2
make[1]: Leaving directory `D:/working/qtwebkit-23/WebKitBuild/Release/Source/WT
F'
make: *** [sub-Source-WTF-WTF-pro-make_default-ordered] Error 2

===== BUILD FAILED ======

The build failed with exit code 2. This may have been because you

  - added an #include to a source/header
  - added a Q_OBJECT macro to a class
  - added a new resource to a qrc file

as dependencies are not automatically re-computed for local developer builds.
You may try computing dependencies manually by running 'make qmake' in:

  D:\working\qtwebkit-23\WebKitBuild\Release

or passing --makeargs="qmake" to build-webkit.



Thanks,
Bobber
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-qt/attachments/20121213/61ea71a8/attachment.html>


More information about the webkit-qt mailing list