aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-qt/qt5/qttools/0002-assistant-help-fix-linking-of-dependent-libraries.patch
blob: 1e216e452dd67a56c5a8738c9f640ce81feeeeed (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
33
From 6ae63cf69985c740d2b45242c1f1bb962c6c8b4b 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/4] 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 37d5ba4..ca90a68 100644
--- a/src/assistant/help/help.pro
+++ b/src/assistant/help/help.pro
@@ -59,4 +59,6 @@ HEADERS += qhelpenginecore.h \
 HEADERS += qhelpsearchindexwriter_clucene_p.h \
     qhelpsearchindexreader_clucene_p.h
 
+LIBS += -lQt5CLucene
+
 load(qt_module)
-- 
1.9.1