blob: 5a29efcf8497b8f14d9e1f9c110906f6e46be1a5 (
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 7f6bb0791dbd8352c5485f307ccf05e5a9438699 Mon Sep 17 00:00:00 2001
From: Martchus <martchus@gmx.net>
Date: Thu, 22 Dec 2016 22:30:59 +0100
Subject: [PATCH] Ensure static 3rdparty libs are linked correctly
Not sure whether this is still required in Qt 5.9.0
---
src/imports/location/location.pro | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/imports/location/location.pro b/src/imports/location/location.pro
index dec1149b..ad57a5c5 100644
--- a/src/imports/location/location.pro
+++ b/src/imports/location/location.pro
@@ -5,6 +5,9 @@ SOURCES += \
load(qml_plugin)
+LIBS_PRIVATE += -L$$MODULE_BASE_OUTDIR/lib -lclip2tri$$qtPlatformTargetSuffix() -lclipper$$qtPlatformTargetSuffix() -lpoly2tri$$qtPlatformTargetSuffix()
+QMAKE_LIBS_PRIVATE += -lclip2tri$$qtPlatformTargetSuffix() -lclipper$$qtPlatformTargetSuffix() -lpoly2tri$$qtPlatformTargetSuffix()
+
OTHER_FILES += \
plugin.json \
qmldir
--
2.17.0
|