summarylogtreecommitdiffstats
path: root/0002-Prevent-linking-qhelpconverter-against-static-bearer.patch
blob: 9103cf999ddec34e9123cd61cb4d043f9d3fa5e2 (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
From 7144128f261005ef0d2b5bcf46e383b252441520 Mon Sep 17 00:00:00 2001
From: Martchus <martchus@gmx.net>
Date: Sun, 15 Oct 2017 22:25:22 +0200
Subject: [PATCH 2/2] Prevent linking qhelpconverter against static bearer
 plugins

This would lead to linker errors since Qt Network isn't used
by qhelpconverter and hence its dependencies aren't pulled.

FIXME:
* Find out why qmake attempts to link against plugins
  by default which are from a module which isn't even used.
* Fix pulling dependencies of static modules when only
  the plugin, but not the related module itself, is used.
---
 src/assistant/qhelpconverter/qhelpconverter.pro | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/assistant/qhelpconverter/qhelpconverter.pro b/src/assistant/qhelpconverter/qhelpconverter.pro
index d60aae7c..99943618 100644
--- a/src/assistant/qhelpconverter/qhelpconverter.pro
+++ b/src/assistant/qhelpconverter/qhelpconverter.pro
@@ -1,4 +1,5 @@
 QT += help widgets
+QTPLUGIN.bearer=-
 
 SOURCES += conversionwizard.cpp \
            inputpage.cpp \
-- 
2.17.0