[Interest] Building QtWebEngine with Visual 2017

Jérôme Laheurte jerome at jeromelaheurte.net
Thu May 17 14:42:13 CEST 2018


> Le 17 mai 2018 à 14:26, Kai Koehne <Kai.Koehne at qt.io> a écrit :
> 
> 
> 
>> -----Original Message-----
>> From: Interest [mailto:interest-bounces+kai.koehne=qt.io at qt-project.org] On
>> Behalf Of Jérôme Laheurte
>> Sent: Thursday, May 17, 2018 2:12 PM
>> To: Qt Project <interest at qt-project.org>
>> Subject: [Interest] Building QtWebEngine with Visual 2017
>> [...]
>> Needs VS 2015 Update 3 with Cumulative Servicing Release or higher
>> QtWebEngine will not be built.
>> 
>> I have called vcvars.bat -x64. I have Visual 2017 Pro installed, along with the
>> Windows 10 SDK. Looks like qmake doesn’t recognize VS2017 as being « higher
>> » than 2015. Or am I missing something ?
> 
> The test for this can be found in qtwebengine\config.tests\winversion . You might try to compile these manually in your environment to see whether and how the compilation fails.

Mmmh, after manually building winversion, the qtwebengine qmake works… Thanks, that was quick.

> 
>> (BTW all the documentation one can find on the Web for building with
>> proprietary codecs is useless since the WEBENGINE_CONFIG stuff seems to
>> have been removed in 5.10. Finally found the trick though.)
> 
> Hope the official documentation is right though?
> 
> https://doc.qt.io/qt-5/qtwebengine-features.html#audio-and-video-codecs <https://doc.qt.io/qt-5/qtwebengine-features.html#audio-and-video-codecs>

Kinda. Would be nice to specify how to pass this option (qmake — -proprietary-codecs); I’m not a qmake expert, far from it.

> 
> PS: Release of 5.11.0 is around the corner, so maybe you directly want to start with this version?

Yep, will upgrade as soon as possible, I’m actually just trying things out right now.

Thanks
Jérôme Laheurte

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


More information about the Interest mailing list