path: root/src/core/
diff options
authorPierre Rossi <>2014-01-20 16:27:03 +0100
committerThe Qt Project <>2014-03-31 18:36:46 +0200
commitdde40e89c0da24c5e76c0f0f9f41bf78ba25efff (patch)
tree6124d7466ee4f19dafba061d1659aa640cffc361 /src/core/
parent3d6d6594b0dd2a8860b8fddd5a58f86c4ebd255c (diff)
Easily enable proprietary codecs
While we can't ship this by default in our binary packages in the future, it would be nice for users who can afford it to easily build with support for h264 among others. And for our private use, that means we can now watch videos from Vimeo. This simply requires passing WEBENGINE_CONFIG+=proprietary_codecs to qmake when building. Change-Id: Ib2274a7cfd053aaa3d38ac18e360310691e11534 Reviewed-by: Zeno Albisser <> Reviewed-by: Jocelyn Turcotte <>
Diffstat (limited to 'src/core/')
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/ b/src/core/
index fb1c006de..515febeb8 100644
--- a/src/core/
+++ b/src/core/
@@ -72,6 +72,8 @@ cross_compile {
GYP_ARGS += "-D CXX=\"$$which($$QMAKE_CXX)\""
+contains(WEBENGINE_CONFIG, proprietary_codecs): GYP_ARGS += "-Dproprietary_codecs=1 -Dffmpeg_branding=Chrome -Duse_system_ffmpeg=0"
!build_pass {
message("Running gyp_qtwebengine \"$$OUT_PWD\" $${GYP_ARGS}...")
!system("python $$QTWEBENGINE_ROOT/tools/buildscripts/gyp_qtwebengine \"$$OUT_PWD\" $${GYP_ARGS}"): error("-- running gyp_qtwebengine failed --")