Re: [Interest] Building QtWebEngine with Visual 2017

2018-05-17 Thread Jérôme Laheurte

> Le 17 mai 2018 à 14:26, Kai Koehne  a écrit :
> 
> 
> 
>> -Original Message-
>> From: Interest [mailto:interest-bounces+kai.koehne=qt...@qt-project.org] On
>> Behalf Of Jérôme Laheurte
>> Sent: Thursday, May 17, 2018 2:12 PM
>> To: Qt Project 
>> 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 
> 

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

___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest


Re: [Interest] Building QtWebEngine with Visual 2017

2018-05-17 Thread Kai Koehne


> -Original Message-
> From: Interest [mailto:interest-bounces+kai.koehne=qt...@qt-project.org] On
> Behalf Of Jérôme Laheurte
> Sent: Thursday, May 17, 2018 2:12 PM
> To: Qt Project 
> 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.

Note that , make caches the results of config.tests. You might need to pass 
'-recheck' to configure to make sure that it's evaluated again.

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

 Kai

PS: Release of 5.11.0 is around the corner, so maybe you directly want to start 
with this version?
___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest