From 21783d8403f4f41bd97014768e08f9fc355adf87 Mon Sep 17 00:00:00 2001 From: Carlos Santos Date: Sun, 10 Nov 2019 20:49:16 -0300 Subject: [PATCH] package/qt5wayland: fix installation with Qt 5.6 Install QtWayland only if the latest Qt version is selected. It does not exist in version 5.6. Signed-off-by: Carlos Santos Signed-off-by: Thomas Petazzoni --- package/qt5/qt5wayland/qt5wayland.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/qt5/qt5wayland/qt5wayland.mk b/package/qt5/qt5wayland/qt5wayland.mk index 0bda596f3b..4790efc660 100644 --- a/package/qt5/qt5wayland/qt5wayland.mk +++ b/package/qt5/qt5wayland/qt5wayland.mk @@ -52,7 +52,7 @@ define QT5WAYLAND_INSTALL_COMPOSITOR cp -dpf $(STAGING_DIR)/usr/lib/libQt5Compositor.so* $(TARGET_DIR)/usr/lib endef endif -ifeq ($(BR2_PACKAGE_QT5DECLARATIVE_QUICK),y) +ifeq ($(BR2_PACKAGE_QT5DECLARATIVE_QUICK)$(BR2_PACKAGE_QT5_VERSION_LATEST),yy) define QT5WAYLAND_INSTALL_COMPOSITOR_QMLS cp -dpfr $(STAGING_DIR)/usr/qml/QtWayland $(TARGET_DIR)/usr/qml/ endef