blob: f9dfaaaa48fc5d2ad0bcbc7dab84637cd77b7951 (
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 1caa80ef688a4e1c4274ccc825b537fef0564af3 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.20.1
|