[Interest] QTWebKit Compilation, Qt 5.9.3, MSVC 2015 errors

Konstantin Tokarev annulen at yandex.ru
Thu Nov 30 13:28:05 CET 2017



30.11.2017, 15:08, "Yuri Alexandrov" <evilruff at gmail.com>:
> Am I right that 212 branch now requires LibXML2 which was required before?

Oh and you can use prebuilt binaries for Qt 5.9 from

https://github.com/annulen/webkit/releases/tag/qtwebkit-5.212.0-alpha2


> Yuri
>
> Sent from Mail for Windows 10
>
> ----------------------------------------
> From: Konstantin Tokarev <annulen at yandex.ru>
> Sent: Thursday, November 30, 2017 2:26:41 PM
> To: Yuri Alexandrov; interest at qt-project.org
> Subject: Re: [Interest] QTWebKit Compilation, Qt 5.9.3, MSVC 2015 errors
>
> 30.11.2017, 13:48, "Yuri Alexandrov" <evilruff at gmail.com>:
>> Hi,
>>
>> I am trying to compile 5.9.1 qtwebkit using Qt 5.9.3 and MSVC 2015
>
> Please use 5.212 branch (http://code.qt.io/cgit/qt/qtwebkit.git/)
>
> QtWebKit 5.9 is severely outdated, and it was actually never built in CI with VS2015
> so there may be other issues too.
>
>>
>> Wondering if anybody might have an ideas on following errors:
>
> This error is caused by API break in ICU 59. This is fixed in 5.212, and partially fixed in 5.9
> (but Windows-specific changes were not backported, and this is what you are hitting)
>
>>
>> ----
>>
>> C:\projects\qtwebkit\x64_debug\Source\WebCore\plugins\win\PluginPackageWin.cpp(51): note: Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
>>
>> C:\projects\qtwebkit\x64_debug\Source\WebCore\plugins\win\PluginPackageWin.cpp(176): error C2664: 'DWORD GetFileVersionInfoSizeW(LPCWSTR,LPDWORD)': cannot convert argument 1 from 'UChar *' to 'LPCWSTR'
>>
>> ----
>>
>> C:\projects\qtwebkit\x64_debug\Source\WebCore\plugins\win\PluginPackageWin.cpp(176): note: Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
>>
>> C:\projects\qtwebkit\x64_debug\Source\WebCore\plugins\win\PluginPackageWin.cpp(183): error C2664: 'BOOL GetFileVersionInfoW(LPCWSTR,DWORD,DWORD,LPVOID)': cannot convert argument 1 from 'UChar *' to 'LPCWSTR'
>>
>> ----
>>
>> Many of those, ICU is the latest 60 (MSVS 2015 x64 binaries)
>>
>> C:\projects\qtwebkit\x64_debug\Source\WebCore\plugins\win\PluginDatabaseWin.cpp(97): error C2440: '<function-style-cast>': cannot convert from 'initializer list' to 'WTF::String'
>>
>> C:\projects\qtwebkit\x64_debug\Source\WebCore\plugins\win\PluginDatabaseWin.cpp(97): note: No constructor could take the source type, or constructor overload resolution was ambiguous
>>
>> C:\projects\qtwebkit\x64_debug\Source\WebCore\plugins\win\PluginDatabaseWin.cpp(229): error C2672: 'WTF::Vector<WTF::String,0,WTF::CrashOnOverflow>::append': no matching overloaded function found
>>
>> C:\projects\qtwebkit\x64_debug\Source\WebCore\plugins\win\PluginDatabaseWin.cpp(229): error C2780: 'void WTF::Vector<WTF::String,0,WTF::CrashOnOverflow>::append(const U *,std::size_t)': expects 2 arguments - 1 provided
>>
>> C:\projects\qtwebkit\x64_debug\Source\WTF\wtf/Vector.h(620): note: see declaration of 'WTF::Vector<WTF::String,0,WTF::CrashOnOverflow>::append'
>>
>> C:\projects\qtwebkit\x64_debug\Source\WebCore\plugins\win\PluginDatabaseWin.cpp(247): error C2440: '<function-style-cast>': cannot convert from 'initializer list' to 'WTF::String'
>>
>> C:\projects\qtwebkit\x64_debug\Source\WebCore\plugins\win\PluginDatabaseWin.cpp(247): note: No constructor could take the source type, or constructor overload resolution was ambiguous
>>
>> C:\projects\qtwebkit\x64_debug\Source\WebCore\plugins\win\PluginDatabaseWin.cpp(247): error C2672: 'WTF::Vector<WTF::String,0,WTF::CrashOnOverflow>::append': no matching overloaded function found
>>
>> C:\projects\qtwebkit\x64_debug\Source\WebCore\plugins\win\PluginDatabaseWin.cpp(247): error C2780: 'void WTF::Vector<WTF::String,0,WTF::CrashOnOverflow>::append(const U *,std::size_t)': expects 2 arguments - 1 provided
>>
>> C:\projects\qtwebkit\x64_debug\Source\WTF\wtf/Vector.h(620): note: see declaration of 'WTF::Vector<WTF::String,0,WTF::CrashOnOverflow>::append'
>>
>> Regards,
>>
>> Yuri
>>
>> ,
>>
>> _______________________________________________
>> Interest mailing list
>> Interest at qt-project.org
>> http://lists.qt-project.org/mailman/listinfo/interest
>
> --
> Regards,
> Konstantin


-- 
Regards,
Konstantin



More information about the Interest mailing list