[oe] [meta-qt5][RFC PATCH] libconnman-qt5: libconnman-qt, Qt5 edition
Andreas Oberritter
obi at opendreambox.org
Tue Jan 28 21:29:13 UTC 2014
* Please, don't apply! ;-)
Signed-off-by: Andreas Oberritter <obi at opendreambox.org>
---
Several questions arose regarding this recipe:
1.) Where to put it? It depends on both meta-openembedded and meta-qt5.
2.) Regarding OE_QMAKE_PATH_HEADERS: I stole this from maliit to fix a
compiler error, but the same assignment is also present in qt5.inc.
Shouldn't this rather be the default?
3.) libconnman-qt installs a qml plugin, resulting in:
| WARNING: QA Issue: libconnman-qt5: Files/directories were installed but not shipped
| [...]
| ${STAGING_DIR_TARGET}/usr/lib/qt5/qml/MeeGo/Connman/libConnmanQtDeclarative.so
How would I get rid of the STAGING_DIR_TARGET prefix? Is this an error in
qmake5.bblass? This doesn't happen with Qt4/X11 or Qt4/Embedded.
recipes-qt/libconnman-qt/libconnman-qt5_git.bb | 7 +++++++
1 file changed, 7 insertions(+)
create mode 100644 recipes-qt/libconnman-qt/libconnman-qt5_git.bb
diff --git a/recipes-qt/libconnman-qt/libconnman-qt5_git.bb b/recipes-qt/libconnman-qt/libconnman-qt5_git.bb
new file mode 100644
index 0000000..bd91446
--- /dev/null
+++ b/recipes-qt/libconnman-qt/libconnman-qt5_git.bb
@@ -0,0 +1,7 @@
+inherit qmake5
+
+# Set path of qt5 headers as qmake5_base.bbclass sets this to just ${includedir}
+# but actually it is ${includedir}/qt5
+OE_QMAKE_PATH_HEADERS = "${OE_QMAKE_PATH_QT_HEADERS}"
+
+require recipes-qt/libconnman-qt/libconnman-qt.inc
--
1.8.3.2
More information about the Openembedded-devel
mailing list