summaryrefslogtreecommitdiffstats
path: root/src/core/core.pro
diff options
context:
space:
mode:
authorAndras Becsi <andras.becsi@digia.com>2014-01-22 16:18:37 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-01-22 16:46:52 +0100
commit8a8ae0abc76315d9c4b29379040f24643ad66ebd (patch)
tree87cb837e39cd3b153f67198087882f1f919a0469 /src/core/core.pro
parent72dcef7294680226ffde88bb1837bd1e4364b809 (diff)
Fix html5 video
Deploy the built ffmpegsumo library and make chromium find it by overriding the content::DIR_MEDIA_LIBS path with the deploy location. We deploy the plugin to $$[QT_INSTALL_PLUGINS]/qtwebengine. Change-Id: I0aeb37fccd2af62b23f8e6405041655e1f66b7aa Reviewed-by: Zeno Albisser <zeno.albisser@digia.com>
Diffstat (limited to 'src/core/core.pro')
-rw-r--r--src/core/core.pro14
1 files changed, 13 insertions, 1 deletions
diff --git a/src/core/core.pro b/src/core/core.pro
index bd228c20a..c5fe808a6 100644
--- a/src/core/core.pro
+++ b/src/core/core.pro
@@ -28,5 +28,17 @@ resources.files = $$REPACK_DIR/qtwebengine_resources.pak
resources.CONFIG += no_check_exist
resources.path = $$[QT_INSTALL_DATA]
-INSTALLS += locales resources
+PLUGIN_EXTENSION = .so
+PLUGIN_PREFIX = lib
+macx: PLUGIN_PREFIX =
+win32 {
+ PLUGIN_EXTENSION = .dll
+ PLUGIN_PREFIX =
+}
+
+plugins.files = $$getOutDir()/$$getConfigDir()/$${PLUGIN_PREFIX}ffmpegsumo$${PLUGIN_EXTENSION}
+plugins.CONFIG += no_check_exist
+plugins.path = $$[QT_INSTALL_PLUGINS]/qtwebengine
+
+INSTALLS += locales resources plugins