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

Yuri Alexandrov evilruff at gmail.com
Thu Nov 30 11:44:20 CET 2017


Hi,

I am trying to compile 5.9.1 qtwebkit using Qt 5.9.3 and MSVC 2015
Wondering if anybody might have an ideas on following errors:

----
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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20171130/c2b15a01/attachment.html>


More information about the Interest mailing list