From 8a8ae0abc76315d9c4b29379040f24643ad66ebd Mon Sep 17 00:00:00 2001 From: Andras Becsi Date: Wed, 22 Jan 2014 16:18:37 +0100 Subject: 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 --- src/core/core.pro | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'src/core/core.pro') 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 -- cgit v1.2.3