qttools: add target build
authorAndreas Müller <schnitzeltony@googlemail.com>
Fri, 17 Jan 2014 14:59:18 +0000 (15:59 +0100)
committerPatrick Ohly <patrick.ohly@intel.com>
Fri, 9 Jan 2015 16:45:22 +0000 (08:45 -0800)
this does not build much yet but I was looking for qdbus

(From meta-qt5 rev: fc289452b6465009a4c7ae6aa70060e55779a81c)

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
meta-qt5/recipes-qt/qt5/qttools.inc [new file with mode: 0644]
meta-qt5/recipes-qt/qt5/qttools/0002-assistant-help-fix-linking-of-dependent-libraries.patch [new file with mode: 0644]
meta-qt5/recipes-qt/qt5/qttools_5.2.0.bb [new file with mode: 0644]

diff --git a/meta-qt5/recipes-qt/qt5/qttools.inc b/meta-qt5/recipes-qt/qt5/qttools.inc
new file mode 100644 (file)
index 0000000..8412db4
--- /dev/null
@@ -0,0 +1,9 @@
+require qt5.inc
+
+DEPENDS += "qtbase"
+
+SRC_URI += " \
+    file://0002-assistant-help-fix-linking-of-dependent-libraries.patch \
+"
+
+FILES_${PN}-examples = "${datadir}/${QT_DIR_NAME}/examples"
diff --git a/meta-qt5/recipes-qt/qt5/qttools/0002-assistant-help-fix-linking-of-dependent-libraries.patch b/meta-qt5/recipes-qt/qt5/qttools/0002-assistant-help-fix-linking-of-dependent-libraries.patch
new file mode 100644 (file)
index 0000000..0f95333
--- /dev/null
@@ -0,0 +1,32 @@
+From 26228d3ed02a4a244d01b3cc2bf3633f25797bb7 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@googlemail.com>
+Date: Fri, 17 Jan 2014 14:33:19 +0100
+Subject: [PATCH] assistant/help: fix linking of dependent libraries
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+else we get:
+| ...ld: warning: libQt5CLucene.so.5, needed by ...libQt5Help.so, not found (try using -rpath or -rpath-link)
+| ...undefined reference to `QCLucenePhraseQuery::getTerms() const'
+
+Upstream-Status: Inappropriate [configuration]
+
+Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
+---
+ src/assistant/help/help.pro | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/src/assistant/help/help.pro b/src/assistant/help/help.pro
+index ed75c37..a2c55c7 100644
+--- a/src/assistant/help/help.pro
++++ b/src/assistant/help/help.pro
+@@ -70,3 +70,5 @@ HEADERS += qhelpenginecore.h \
+ # access to clucene
+ HEADERS += qhelpsearchindexwriter_clucene_p.h \
+     qhelpsearchindexreader_clucene_p.h
++
++LIBS += -lQt5CLucene
+-- 
+1.8.3.1
+
diff --git a/meta-qt5/recipes-qt/qt5/qttools_5.2.0.bb b/meta-qt5/recipes-qt/qt5/qttools_5.2.0.bb
new file mode 100644 (file)
index 0000000..0effa1b
--- /dev/null
@@ -0,0 +1,5 @@
+require qt5-${PV}.inc
+require ${PN}.inc
+
+SRC_URI[md5sum] = "76a0992967b6d02220ecb69a5ba04ef1"
+SRC_URI[sha256sum] = "ff331510ecb776b3059953e216e9fa7a4c0736eeb148c4cf11acc8150811b7f0"