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

Jocelyn Turcotte jocelyn.turcotte at digia.com
Fri Dec 14 06:30:59 PST 2012


Hi,

the MSVC project file generation has been fragile and difficult to maintain lately so please avoid it. It has asked for more efforts than the value it would provide over the standard nmake build.

Seeing that build-webkit is trying to call make instead of nmake I guess that you might not have set up your MSVC command line environment properly.
Please open a "Windows SDK" or "Visual C++" command prompt from the start menu and try to launch build-webkit from there.
This is the first step on the wiki under http://trac.webkit.org/wiki/BuildingQtOnWindows#BuildingQtWebKit
MSVC build are usually more reliable than MinGW builds.

If you did, there might also be some issues specific to the 2.3 branch, as far as I know there is nobody investing time to maintain it on Windows yet.

Regards,
Jocelyn


On Thu, Dec 13, 2012 at 11:08:58AM +0000, Cheng, Bobber wrote:
> 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

> _______________________________________________
> webkit-qt mailing list
> webkit-qt at lists.webkit.org
> http://lists.webkit.org/mailman/listinfo/webkit-qt



More information about the webkit-qt mailing list