On 11.04.2016 14:09, Andreas Müller wrote:
On Mon, Apr 11, 2016 at 8:02 AM, Samuli Piippo
<samuli.pii...@theqtcompany.com> wrote:
On 10.04.2016 22:41, Andreas Müller wrote:

Signed-off-by: Andreas Müller <schnitzelt...@googlemail.com>
---
   recipes-qt/qt5/qtquickcontrols2_git.bb | 15 +++++++++++++++
   1 file changed, 15 insertions(+)
   create mode 100644 recipes-qt/qt5/qtquickcontrols2_git.bb

diff --git a/recipes-qt/qt5/qtquickcontrols2_git.bb
b/recipes-qt/qt5/qtquickcontrols2_git.bb
new file mode 100644
index 0000000..41c781e
--- /dev/null
+++ b/recipes-qt/qt5/qtquickcontrols2_git.bb
@@ -0,0 +1,15 @@
+require qt5.inc
+require qt5-git.inc
+
+LICENSE = "GFDL-1.3 & BSD & LGPL-3.0 | GPL-3.0"
+LIC_FILES_CHKSUM = " \
+    file://LICENSE.FDL;md5=6d9f2a9af4c8b8c3c769f6cc1b6aaf7e \
+    file://LICENSE.LGPLv3;md5=8ba7f2099d17d636d5fcc8303bb17587 \
+    file://LICENSE.GPLv3;md5=40f9bf30e783ddc201497165dfb32afb \
+"
+
+DEPENDS += "qtdeclarative"
+
+FILES_${PN}-qmlplugins += "${libdir}/qt5/qml/Qt"


all /designer/ files should go the ${PN}-designer package, since they are
not needed in the target.
Should be added by including one more level of subfolders in qt5.inc

+
+SRCREV = "7fc567eda8a187e365f4c29c6e8f08440bf31218"

--
I checked the image of qtquickcontrols2 for files matching your
comment but can't find any. What files do you mean?

Andreas


Without the FILES_${PN}-qmlplugins addition, bitbake throws error:

ERROR: QA Issue: qtquickcontrols2: Files/directories were installed but not shipped in any package:
  /usr/lib/qml/Qt/labs/controls/designer/qtlabscontrols.metainfo

This should go to ${PN}-qmldesigner package, as well as all the other files from /usr/lib/qml/Qt/labs/controls/designer/* that are now in ${PN}-qmlplugins
See FILES_${PN}-qmldesigner in qt5.inc

-samuli
--
_______________________________________________
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

Reply via email to