[Interest] Building QtWebEngine with Visual 2017

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


Hello. I’m trying to build QtWebEngine with h264 support on Windows. I installed Qt 5.10.1 (msvc2017_64) and the source. Running qmake gives:

> qmake

Running configuration tests...
Done running configuration tests.

Configure summary:

Qt WebEngine:
  Embedded build ......................... no
  Pepper Plugins ......................... yes
  Printing and PDF ....................... yes
  Proprietary Codecs ..................... no
  Spellchecker ........................... yes
  Native Spellchecker .................... no
  WebRTC ................................. yes
  Use System Ninja ....................... no
  Geolocation ............................ yes
  Use v8 snapshot ........................ yes

Qt is now configured for building. Just run 'nmake'.
Once everything is built, Qt is installed.
You should NOT run 'nmake install'.
Note that this build cannot be deployed to other machines or devices.

Prior to reconfiguration, make sure you remove any leftovers from
the previous build.


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 ?

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

TIA
Jérôme Laheurte




More information about the Interest mailing list