summaryrefslogtreecommitdiffstats
path: root/recipes-qt/qt5/qttools/0002-assistant-help-fix-linking-of-dependent-libraries.patch
blob: 042605c314f96a8bade416be7d82ba8790c7f3d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
From 2b9829a4aa1379a69343371991a81b3769ac7dec 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 2/3] 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 168d23d..a9c3b59 100644
--- a/src/assistant/help/help.pro
+++ b/src/assistant/help/help.pro
@@ -59,3 +59,5 @@ HEADERS += qhelpenginecore.h \
 # access to clucene
 HEADERS += qhelpsearchindexwriter_clucene_p.h \
     qhelpsearchindexreader_clucene_p.h
+
+LIBS += -lQt5CLucene
-- 
2.0.0