From: David Rosca <nowrep@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v2] package/qt5wayland: install compositor QML files
Date: Tue, 14 May 2019 09:18:29 +0200 [thread overview]
Message-ID: <20190514071830.30037-1-nowrep@gmail.com> (raw)
In-Reply-To: <20190511150750.5985-1-nowrep@gmail.com>
Fixes using QtWayland.Compositor QML import.
Signed-off-by: David Rosca <nowrep@gmail.com>
---
Changes v1 -> v2:
- move under BR2_PACKAGE_QT5DECLARATIVE_QUICK condition
- also handle stable Qt version (5.6)
---
package/qt5/qt5wayland/qt5wayland.mk | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/package/qt5/qt5wayland/qt5wayland.mk b/package/qt5/qt5wayland/qt5wayland.mk
index f96e4c2f8f..449640c881 100644
--- a/package/qt5/qt5wayland/qt5wayland.mk
+++ b/package/qt5/qt5wayland/qt5wayland.mk
@@ -52,6 +52,11 @@ define QT5WAYLAND_INSTALL_COMPOSITOR
cp -dpf $(STAGING_DIR)/usr/lib/libQt5Compositor.so* $(TARGET_DIR)/usr/lib
endef
endif
+ifeq ($(BR2_PACKAGE_QT5DECLARATIVE_QUICK),y)
+define QT5WAYLAND_INSTALL_COMPOSITOR_QMLS
+ cp -dpfr $(STAGING_DIR)/usr/qml/QtWayland $(TARGET_DIR)/usr/qml/
+endef
+endif
endif
ifeq ($(BR2_PACKAGE_QT5BASE_EXAMPLES),y)
@@ -65,6 +70,7 @@ define QT5WAYLAND_INSTALL_TARGET_CMDS
cp -dpfr $(STAGING_DIR)/usr/lib/qt/plugins/wayland* $(TARGET_DIR)/usr/lib/qt/plugins
cp -dpfr $(STAGING_DIR)/usr/lib/qt/plugins/platforms/libqwayland* $(TARGET_DIR)/usr/lib/qt/plugins/platforms
$(QT5WAYLAND_INSTALL_COMPOSITOR)
+ $(QT5WAYLAND_INSTALL_COMPOSITOR_QMLS)
$(QT5WAYLAND_INSTALL_TARGET_EXAMPLES)
endef
--
2.21.0
next prev parent reply other threads:[~2019-05-14 7:18 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-05-11 15:07 [Buildroot] [PATCH 1/1] package/qt5wayland: install compositor QML files nowrep at gmail.com
2019-05-13 19:28 ` Thomas Petazzoni
2019-05-14 7:18 ` David Rosca [this message]
2019-05-26 20:04 ` [Buildroot] [PATCH v2] " Thomas Petazzoni
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190514071830.30037-1-nowrep@gmail.com \
--to=nowrep@gmail.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox