Skip to contentSkip to conversation

qt: fix libQtMultimedia installation

PATCH New luca at lucaceresoli.net 3 participants 3 messages Jun 3, 2010 – Jun 5, 2010

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 qt: fix libQtMultimedia installation

From: Luca Ceresoli <[email protected]>

With BR2_PACKAGE_QT_MULTIMEDIA=y, libQtMultimedia.so.* was not copied to the target directory.

---
 package/qt/qt.mk |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)
package/qt/qt.mk +8 -0
index aaf965e..e2ebbb2 100644
@@ -387,6 +387,9 @@ endif
 ifeq ($(BR2_PACKAGE_QT_SQL_MODULE),y)
 QT_LIBS+= qt-sql
 endif
+ifeq ($(BR2_PACKAGE_QT_MULTIMEDIA),y)
+QT_LIBS+= qt-multimedia
+endif
 ifeq ($(BR2_PACKAGE_QT_PHONON),y)
 QT_LIBS+= qt-phonon
 endif
@@ -542,6 +545,11 @@ ifeq ($(BR2_PACKAGE_QT_SHARED),y)
 	cp -dpf $(STAGING_DIR)/usr/lib/libQtSql.so.* $(TARGET_DIR)/usr/lib/
 endif
 
+qt-multimedia: $(STAGING_DIR)/usr/lib/libQtCore.la
+ifeq ($(BR2_PACKAGE_QT_SHARED),y)
+	cp -dpf $(STAGING_DIR)/usr/lib/libQtMultimedia.so.* $(TARGET_DIR)/usr/lib/
+endif
+
 qt-phonon: $(STAGING_DIR)/usr/lib/libQtCore.la
 	$(call QT_INSTALL_PLUGINS,phonon_backend)
 ifeq ($(BR2_PACKAGE_QT_SHARED),y)
Signature · 1 line
1.5.4.3
#1 lore raw

PATCH 1/1 qt: fix libQtMultimedia installation

Quoted 2 lines · On Thu, 3 Jun 2010 22:31:02 +0200 luca at lucaceresoli.net wrote:

With BR2_PACKAGE_QT_MULTIMEDIA=y, libQtMultimedia.so.* was not copied to the target directory.

Signature · 4 lines
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com