summarylogtreecommitdiffstats
path: root/0001-Ensure-QML-dev-tools-is-built-as-static-library.patch
blob: e591c85ce3444bc5f401c83c8242acba5168a78e (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
From 5a03cad74e06b233dd926b22da4ca2ed7f3e40b3 Mon Sep 17 00:00:00 2001
From: Martchus <martchus@gmx.net>
Date: Sun, 25 Sep 2016 21:24:15 +0200
Subject: [PATCH 1/3] Ensure QML dev tools is built as static library

This library must be built as static library even when
using CONFIG+=shared. Otherwise it fails to link.
---
 src/qmldevtools/qmldevtools.pro | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/qmldevtools/qmldevtools.pro b/src/qmldevtools/qmldevtools.pro
index 05aa6f66f..e73c0c23d 100644
--- a/src/qmldevtools/qmldevtools.pro
+++ b/src/qmldevtools/qmldevtools.pro
@@ -2,6 +2,8 @@ option(host_build)
 TARGET     = QtQmlDevTools
 QT         = core-private
 CONFIG    += minimal_syncqt internal_module qmldevtools_build generated_privates
+CONFIG    -= shared
+CONFIG    += static staticlib
 
 MODULE_INCNAME = QtQml
 INCLUDEPATH += $$OUT_PWD/../qml
-- 
2.21.0