All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-oe][PATCH] qt-creator: avoid conflicts with meta-qt5's qt5-creator
@ 2015-03-01 22:23 Andreas Müller
  2015-03-05 18:01 ` Martin Jansa
  0 siblings, 1 reply; 4+ messages in thread
From: Andreas Müller @ 2015-03-01 22:23 UTC (permalink / raw)
  To: openembedded-devel

We avoid conflicts by installing no files to sysroot. This causes no fallout
because nothing depends on qt5-creator (if something included later depending
on qt-creator it should depend on qt5-creator).
Note that

| WARNING: QA Issue: qt5-creator rdepends on qt-creator, but it isn't a build dependency? [build-deps]

is a false positve because the names of the libraries are same as for
qt5-creator (see test below).

This patch was tested by:

1. building qt-creator from scratch
2. building an image containing qt5-creator.
   * qt5-creator did not fail for sysroot conflicts
   * image was build without pulling qt-creator

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
---
 meta-oe/recipes-qt/qt-creator/qt-creator_2.8.1.bb | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/meta-oe/recipes-qt/qt-creator/qt-creator_2.8.1.bb b/meta-oe/recipes-qt/qt-creator/qt-creator_2.8.1.bb
index 11d7be7..670ffad 100644
--- a/meta-oe/recipes-qt/qt-creator/qt-creator_2.8.1.bb
+++ b/meta-oe/recipes-qt/qt-creator/qt-creator_2.8.1.bb
@@ -33,6 +33,11 @@ RRECOMMENDS_${PN} += "packagegroup-core-buildessential \
                       qt4-plugin-sqldriver-sqlite \
 "
 
+# avoid conflicts with meta-qt5's qt-creator and do install nothing to sysroot
+# this does no harm cause nothing depends on qt-creator
+sysroot_stage_all() {
+}
+
 # the regexp in insane.bbclass doesn't allow this valid path:
 # qt-creator-2.8.1: qt-creator: found library in wrong location: /usr/share/qtcreator/qbs/lib/qbs/plugins/libqbs_cpp_scanner.so
 # qt-creator: found library in wrong location: /usr/share/qtcreator/qbs/lib/qbs/plugins/libqbs_qt_scanner.so
-- 
1.9.3



^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-03-05 21:32 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-01 22:23 [meta-oe][PATCH] qt-creator: avoid conflicts with meta-qt5's qt5-creator Andreas Müller
2015-03-05 18:01 ` Martin Jansa
2015-03-05 20:57   ` Andreas Müller
2015-03-05 21:32     ` Martin Jansa

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.