Skip to contentSkip to conversation

qt5location: copy PositioningQuick.so* for QtQuick

PATCH New Alexander 'z33ky' Hirsch 2 participants 2 messages Oct 16, 2018 – Oct 17, 2018

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 qt5location: copy PositioningQuick.so* for QtQuick

The Location module for QtQuick depends on this library, which was not being copied in the build rule.

---
Changes v1 -> v2:
- only do the copy for latest Qt (5.11) (suggested by Peter Seiderer)

 package/qt5/qt5location/qt5location.mk | 6 ++++++
 1 file changed, 6 insertions(+)
package/qt5/qt5location/qt5location.mk +6 -0
index 18253e9..da0aad7 100644
@@ -44,6 +44,11 @@ define QT5LOCATION_INSTALL_TARGET_LOCATION
 	cp -dpf $(STAGING_DIR)/usr/lib/libQt5Location.so.* $(TARGET_DIR)/usr/lib
 	cp -dpfr $(STAGING_DIR)/usr/lib/qt/plugins/geoservices $(TARGET_DIR)/usr/lib/qt/plugins/
 endef
+ifeq ($(BR2_PACKAGE_QT5_VERSION_LATEST),y)
+define QT5LOCATION_INSTALL_TARGET_POSITION_QUICK
+	cp -dpf $(STAGING_DIR)/usr/lib/libQt5PositioningQuick.so.* $(TARGET_DIR)/usr/lib
+endef
+endif
 ifeq ($(BR2_PACKAGE_QT5BASE_EXAMPLES),y)
 define QT5LOCATION_INSTALL_TARGET_EXAMPLES
 	cp -dpfr $(STAGING_DIR)/usr/lib/qt/examples/location $(TARGET_DIR)/usr/lib/qt/examples/
@@ -59,6 +64,7 @@ endef
 
 define QT5LOCATION_INSTALL_TARGET_CMDS
 	$(QT5LOCATION_INSTALL_TARGET_POSITION)
+	$(QT5LOCATION_INSTALL_TARGET_POSITION_QUICK)
 	$(QT5LOCATION_INSTALL_TARGET_LOCATION)
 	$(QT5LOCATION_INSTALL_TARGET_QMLS)
 	$(QT5LOCATION_INSTALL_TARGET_EXAMPLES)
Signature · 1 line
2.19.1
#1 lore raw

PATCH v2 1/1 qt5location: copy PositioningQuick.so* for QtQuick

Hello,

Quoted 7 lines · On Wed, 17 Oct 2018 00:58:55 +0200, Alexander 'z33ky' Hirsch wrote:

The Location module for QtQuick depends on this library, which was not being copied in the build rule.

---
Changes v1 -> v2:
- only do the copy for latest Qt (5.11) (suggested by Peter Seiderer)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com