Hi Konstantin,
Thanks for your help. I switched branch qtwebkit-1 and uses following command to compile: perl Tools/Scripts/build-webkit --qt --release --cmakeargs="-W no-dev -DCMAKE_PREFIX_PATH=D:\Qt\Qt5.6.0\5.6\msvc2015" --no-ninja Whenever I set --no-ninja or not, I always got following error: -- Enabled features: -- ENABLE_DATABASE_PROCESS ................. OFF -- ENABLE_INDEXED_DATABASE OFF -- ENABLE_VIDEO ............................ OFF -- Configuring done -- Generating done -- Build files have been written to: D:/working/webkit/WebKitBuild/Release Microsoft (R) Build Engine version 14.0.24730.2 Copyright (C) Microsoft Corporation. All rights reserved. MSBUILD : error MSB1001: Unknown switch. Switch: -j4 For switch syntax, type "MSBuild /help" I used Qt 5.6 RC, MSVC 2015, CMake 3.4.3. I tried to open WebKitBuild\Release\WebKit.sln with MSVC 2015. I got lots of compilation error when I compile WebCore. I got same compilation error as before when I compile WebKit. 1>------ Build started: Project: WebKit (WebKit\WebKit), Configuration: Release Win32 ------ 1> WebKitPrefix.cpp 1>D:\working\webkit\WebKitLibraries\win\include\CoreFoundation/CFMessagePort.h(11): fatal error C1083: Cannot open include file: 'dispatch/dispatch.h': No such file or directory Thanks, Bobber -----Original Message----- From: Konstantin Tokarev [mailto:[email protected]] Sent: Tuesday, February 16, 2016 7:00 PM To: Cheng, Bobber; [email protected] Subject: Re: [webkit-qt] New QtWebKit progress 16.02.2016, 12:39, "Cheng, Bobber" <[email protected]<mailto:[email protected]>>: > Hi Konstantin, > > Did you successfully compile Qt5WebKit on Windows? I following your guide > https://github.com/annulen/webkit/wiki/Building-QtWebKit-on-Windows, but I > got compile error as following. Do you have any suggest to fix it? Make sure you are building right branch (qtwebkit-1) and pass --qt to build-webkit. > > Thanks, > Bobber > > D:\working\webkit\WebKitLibraries\win\include\CoreFoundation/CFMessagePort.h(11): > fatal error C1083: Cannot open include file: 'dispatch/dispatch.h': No such > file or directory (compiling source file > D:\working\webkit\Source\WTF\wtf\Assertions.cpp) > [D:\working\webkit\WebKitBuild\Release\Source\WTF\wtf\WTF.vcxproj] > D:\working\webkit\WebKitLibraries\win\include\CoreFoundation/CFMessagePort.h(11): > fatal error C1083: Cannot open include file: 'dispatch/dispatch.h': No such > file or directory (compiling source file > D:\working\webkit\Source\WTF\wtf\DateMath.cpp) > [D:\working\webkit\WebKitBuild\Release\Source\WTF\wtf\WTF.vcxproj] > D:\working\webkit\WebKitLibraries\win\include\CoreFoundation/CFMessagePort.h(11): > fatal error C1083: Cannot open include file: 'dispatch/dispatch.h': No such > file or directory (compiling source file > D:\working\webkit\Source\WTF\wtf\DecimalNumber.cpp) > [D:\working\webkit\WebKitBuild\Release\Source\WTF\wtf\WTF.vcxproj] > D:\working\webkit\WebKitLibraries\win\include\CoreFoundation/CFMessagePort.h(11): > fatal error C1083: Cannot open include file: 'dispatch/dispatch.h': No such > file or directory (compiling source file > D:\working\webkit\Source\WTF\wtf\DataLog.cpp) > [D:\working\webkit\WebKitBuild\Release\Source\WTF\wtf\WTF.vcxproj] > D:\working\webkit\WebKitLibraries\win\include\CoreFoundation/CFMessagePort.h(11): > fatal error C1083: Cannot open include file: 'dispatch/dispatch.h': No such > file or directory (compiling source file > D:\working\webkit\Source\WTF\wtf\GregorianDateTime.cpp) > [D:\working\webkit\WebKitBuild\Release\Source\WTF\wtf\WTF.vcxproj] > D:\working\webkit\WebKitLibraries\win\include\CoreFoundation/CFMessagePort.h(11): > fatal error C1083: Cannot open include file: 'dispatch/dispatch.h': No such > file or directory (compiling source file > D:\working\webkit\Source\WTF\wtf\Lock.cpp) > [D:\working\webkit\WebKitBuild\Release\Source\WTF\wtf\WTF.vcxproj] > D:\working\webkit\WebKitLibraries\win\include\CoreFoundation/CFMessagePort.h(11): > fatal error C1083: Cannot open include file: 'dispatch/dispatch.h': No such > file or directory (compiling source file > D:\working\webkit\Source\WTF\wtf\PrintStream.cpp) > [D:\working\webkit\WebKitBuild\Release\Source\WTF\wtf\WTF.vcxproj] > D:\working\webkit\WebKitLibraries\win\include\CoreFoundation/CFMessagePort.h(11): > fatal error C1083: Cannot open include file: 'dispatch/dispatch.h': No such > file or directory (compiling source file > D:\working\webkit\Source\WTF\wtf\ParallelHelperPool.cpp) > [D:\working\webkit\WebKitBuild\Release\Source\WTF\wtf\WTF.vcxproj] > D:\working\webkit\WebKitLibraries\win\include\CoreFoundation/CFMessagePort.h(11): > fatal error C1083: Cannot open include file: 'dispatch/dispatch.h': No such > file or directory (compiling source file > D:\working\webkit\Source\WTF\wtf\ParkingLot.cpp) > [D:\working\webkit\WebKitBuild\Release\Source\WTF\wtf\WTF.vcxproj] > D:\working\webkit\WebKitLibraries\win\include\CoreFoundation/CFMessagePort.h(11): > fatal error C1083: Cannot open include file: 'dispatch/dispatch.h': No such > file or directory (compiling source file > D:\working\webkit\Source\WTF\wtf\RunLoop.cpp) > [D:\working\webkit\WebKitBuild\Release\Source\WTF\wtf\WTF.vcxproj] > D:\working\webkit\WebKitLibraries\win\include\CoreFoundation/CFMessagePort.h(11): > fatal error C1083: Cannot open include file: 'dispatch/dispatch.h': No such > file or directory (compiling source file > D:\working\webkit\Source\WTF\wtf\StringPrintStream.cpp) > [D:\working\webkit\WebKitBuild\Release\Source\WTF\wtf\WTF.vcxproj] > D:\working\webkit\WebKitLibraries\win\include\CoreFoundation/CFMessagePort.h(11): > fatal error C1083: Cannot open include file: 'dispatch/dispatch.h': No such > file or directory (compiling source file > D:\working\webkit\Source\WTF\wtf\WTFThreadData.cpp) > [D:\working\webkit\WebKitBuild\Release\Source\WTF\wtf\WTF.vcxproj] > D:\working\webkit\WebKitLibraries\win\include\CoreFoundation/CFMessagePort.h(11): > fatal error C1083: Cannot open include file: 'dispatch/dispatch.h': No such > file or directory (compiling source file > D:\working\webkit\Source\WTF\wtf\dtoa.cpp) > [D:\working\webkit\WebKitBuild\Release\Source\WTF\wtf\WTF.vcxproj] > D:\working\webkit\WebKitLibraries\win\include\CoreFoundation/CFMessagePort.h(11): > fatal error C1083: Cannot open include file: 'dispatch/dispatch.h': No such > file or directory (compiling source file > D:\working\webkit\Source\WTF\wtf\WordLock.cpp) > [D:\working\webkit\WebKitBuild\Release\Source\WTF\wtf\WTF.vcxproj] > D:\working\webkit\WebKitLibraries\win\include\CoreFoundation/CFMessagePort.h(11): > fatal error C1083: Cannot open include file: 'dispatch/dispatch.h': No such > file or directory (compiling source file > D:\working\webkit\Source\WTF\wtf\WorkQueue.cpp) > [D:\working\webkit\WebKitBuild\Release\Source\WTF\wtf\WTF.vcxproj] > D:\working\webkit\WebKitLibraries\win\include\CoreFoundation/CFMessagePort.h(11): > fatal error C1083: Cannot open include file: 'dispatch/dispatch.h': No such > file or directory (compiling source file > D:\working\webkit\Source\WTF\wtf\text\AtomicString.cpp) > [D:\working\webkit\WebKitBuild\Release\Source\WTF\wtf\WTF.vcxproj] > D:\working\webkit\WebKitLibraries\win\include\CoreFoundation/CFMessagePort.h(11): > fatal error C1083: Cannot open include file: 'dispatch/dispatch.h': No such > file or directory (compiling source file > D:\working\webkit\Source\WTF\wtf\text\Base64.cpp) > [D:\working\webkit\WebKitBuild\Release\Source\WTF\wtf\WTF.vcxproj] > D:\working\webkit\WebKitLibraries\win\include\CoreFoundation/CFMessagePort.h(11): > fatal error C1083: Cannot open include file: 'dispatch/dispatch.h': No such > file or directory (compiling source file > D:\working\webkit\Source\WTF\wtf\text\StringBuilder.cpp) > [D:\working\webkit\WebKitBuild\Release\Source\WTF\wtf\WTF.vcxproj] > D:\working\webkit\WebKitLibraries\win\include\CoreFoundation/CFMessagePort.h(11): > fatal error C1083: Cannot open include file: 'dispatch/dispatch.h': No such > file or directory (compiling source file > D:\working\webkit\Source\WTF\wtf\text\StringImpl.cpp) > [D:\working\webkit\WebKitBuild\Release\Source\WTF\wtf\WTF.vcxproj] > D:\working\webkit\WebKitLibraries\win\include\CoreFoundation/CFMessagePort.h(11): > fatal error C1083: Cannot open include file: 'dispatch/dispatch.h': No such > file or directory (compiling source file > D:\working\webkit\Source\WTF\wtf\text\AtomicStringImpl.cpp) > [D:\working\webkit\WebKitBuild\Release\Source\WTF\wtf\WTF.vcxproj] > D:\working\webkit\WebKitLibraries\win\include\CoreFoundation/CFMessagePort.h(11): > fatal error C1083: Cannot open include file: 'dispatch/dispatch.h': No such > file or directory (compiling source file > D:\working\webkit\Source\WTF\wtf\text\AtomicStringTable.cpp) > [D:\working\webkit\WebKitBuild\Release\Source\WTF\wtf\WTF.vcxproj] > D:\working\webkit\WebKitLibraries\win\include\CoreFoundation/CFMessagePort.h(11): > fatal error C1083: Cannot open include file: 'dispatch/dispatch.h': No such > file or directory (compiling source file > D:\working\webkit\Source\WTF\wtf\text\StringStatics.cpp) > [D:\working\webkit\WebKitBuild\Release\Source\WTF\wtf\WTF.vcxproj] > D:\working\webkit\WebKitLibraries\win\include\CoreFoundation/CFMessagePort.h(11): > fatal error C1083: Cannot open include file: 'dispatch/dispatch.h': No such > file or directory (compiling source file > D:\working\webkit\Source\WTF\wtf\text\StringView.cpp) > [D:\working\webkit\WebKitBuild\Release\Source\WTF\wtf\WTF.vcxproj] > D:\working\webkit\WebKitLibraries\win\include\CoreFoundation/CFMessagePort.h(11): > fatal error C1083: Cannot open include file: 'dispatch/dispatch.h': No such > file or directory (compiling source file > D:\working\webkit\Source\WTF\wtf\text\WTFString.cpp) > [D:\working\webkit\WebKitBuild\Release\Source\WTF\wtf\WTF.vcxproj] > D:\working\webkit\WebKitLibraries\win\include\CoreFoundation/CFMessagePort.h(11): > fatal error C1083: Cannot open include file: 'dispatch/dispatch.h': No such > file or directory (compiling source file > D:\working\webkit\Source\WTF\wtf\text\SymbolRegistry.cpp) > [D:\working\webkit\WebKitBuild\Release\Source\WTF\wtf\WTF.vcxproj] > D:\working\webkit\WebKitLibraries\win\include\CoreFoundation/CFMessagePort.h(11): > fatal error C1083: Cannot open include file: 'dispatch/dispatch.h': No such > file or directory (compiling source file > D:\working\webkit\Source\WTF\wtf\unicode\icu\CollatorICU.cpp) > [D:\working\webkit\WebKitBuild\Release\Source\WTF\wtf\WTF.vcxproj] > D:\working\webkit\WebKitLibraries\win\include\CoreFoundation/CFMessagePort.h(11): > fatal error C1083: Cannot open include file: 'dispatch/dispatch.h': No such > file or directory (compiling source file > D:\working\webkit\Source\WTF\wtf\text\cf\AtomicStringImplCF.cpp) > [D:\working\webkit\WebKitBuild\Release\Source\WTF\wtf\WTF.vcxproj] > D:\working\webkit\WebKitLibraries\win\include\CoreFoundation/CFMessagePort.h(11): > fatal error C1083: Cannot open include file: 'dispatch/dispatch.h': No such > file or directory (compiling source file > D:\working\webkit\Source\WTF\wtf\text\cf\StringViewCF.cpp) > [D:\working\webkit\WebKitBuild\Release\Source\WTF\wtf\WTF.vcxproj] > D:\working\webkit\WebKitLibraries\win\include\CoreFoundation/CFMessagePort.h(11): > fatal error C1083: Cannot open include file: 'dispatch/dispatch.h': No such > file or directory (compiling source file > D:\working\webkit\Source\WTF\wtf\text\cf\StringImplCF.cpp) > [D:\working\webkit\WebKitBuild\Release\Source\WTF\wtf\WTF.vcxproj] > D:\working\webkit\WebKitLibraries\win\include\CoreFoundation/CFMessagePort.h(11): > fatal error C1083: Cannot open include file: 'dispatch/dispatch.h': No such > file or directory (compiling source file > D:\working\webkit\Source\WTF\wtf\text\cf\StringCF.cpp) > [D:\working\webkit\WebKitBuild\Release\Source\WTF\wtf\WTF.vcxproj] > D:\working\webkit\WebKitLibraries\win\include\CoreFoundation/CFMessagePort.h(11): > fatal error C1083: Cannot open include file: 'dispatch/dispatch.h': No such > file or directory (compiling source file > D:\working\webkit\Source\WTF\wtf\ThreadingWin.cpp) > [D:\working\webkit\WebKitBuild\Release\Source\WTF\wtf\WTF.vcxproj] > D:\working\webkit\WebKitLibraries\win\include\CoreFoundation/CFMessagePort.h(11): > fatal error C1083: Cannot open include file: 'dispatch/dispatch.h': No such > file or directory (compiling source file > D:\working\webkit\Source\WTF\wtf\win\RunLoopWin.cpp) > [D:\working\webkit\WebKitBuild\Release\Source\WTF\wtf\WTF.vcxproj] > > -----Original Message----- > From: > [email protected]<mailto:[email protected]> > [mailto:[email protected]] On Behalf Of Konstantin Tokarev > Sent: Friday, February 12, 2016 11:32 PM > To: [email protected]<mailto:[email protected]> > Subject: [webkit-qt] New QtWebKit progress > > Hi all, > > I'm pleased to announce that qtwebkit-1 branch in repository [1] now contains > everything needed for successful linking of libQt5WebKit.so on Linux using > gcc 4.8.4 or clang 3.7. Branch is based on today's trunk and uses B3 compiler > as a default FTL backend. > > Note that QtTestBrowser is not yet here so there is nothing to run yet. Stay > tuned! > > Windows support is coming soon. It would be great if someone tried to compile > the code on OS X (10.10 or 10.11 is required) and report encountered issues. > > Also I'd like to inform you that trunk (and therefore qtwebkit-1 branch) now > contains mostly working support for MIPS architecture in JSC engine (up to > DFG JIT). > > [1] https://github.com/annulen/webkit > > ------------- > > Now about sad things. There are some features that I had to disable during > this work. They don't have high priority for me, so if anything of these > items is important for you, please join our project! > > * QWebHistory, QWebHistoryItem, and QWebHistoryInterface. WebKit APis has > changed in this field, so it would require some investigation to restore > these QtWebKit APIs. > > I can assure you that I'm not going make any "official" releases without some > kind of working history API, but if you want to speed up this process your > help would be welcome. > > * Private browsing API was significantly changed, so it is disabled for now. > > Please help if you want this feature to be implemented sooner. > > * Plugins (both Qt-style and NPAPI) in WebKit 1 (widgets API). Upstream > removed support for plugins in single-process mode for non-Windows platforms. > On the plus side, plugin integration classes were refactored so it should be > possible to re-add these things without intervention to WebCore. > > If nobody is going to help in this field, QtWebKit will likely be released > without plugin support. Note that Qt Bridge is not affected at all. > > -- > Regards, > Konstantin > _______________________________________________ > webkit-qt mailing list > [email protected]<mailto:[email protected]> > https://lists.webkit.org/mailman/listinfo/webkit-qt -- Regards, Konstantin
_______________________________________________ webkit-qt mailing list [email protected] https://lists.webkit.org/mailman/listinfo/webkit-qt
