path: root/src/plugins/bearer/connman/
diff options
authorSimon Hausmann <>2019-10-21 10:09:03 +0200
committerSimon Hausmann <>2019-10-24 13:00:07 +0000
commit7a605edc226d4051602e157fe575f17dfaac0964 (patch)
tree46a3c1f8328b9c7b1fd0a2863c2cea635f70d842 /src/plugins/bearer/connman/
parent6e3b5801d26dc186066155202847342782bf653b (diff)
Fix static linking when bearer management plugins are built, part 2
After commit 5f160a3699d80d1736f691ad9ef774eb6aa28079 moved the code that's shared across all bearer management plugins into QtNetwork, there is one piece of code remaining that's shared across the connman and the networkmanager bearer plugin: The dbus ofono interface code. To avoid linking that twice (and causing duplicate symbol errors), this patch moves it into a static platform support library. This way for shared builds the code is included twice, but for static builds only once. Change-Id: Idf5414bc22fea45f11c600f28eaea91bb4dc6308 Reviewed-by: MÃ¥rten Nordheim <>
Diffstat (limited to 'src/plugins/bearer/connman/')
1 files changed, 1 insertions, 3 deletions
diff --git a/src/plugins/bearer/connman/ b/src/plugins/bearer/connman/
index d6577e9d7f..03e94cfe6a 100644
--- a/src/plugins/bearer/connman/
+++ b/src/plugins/bearer/connman/
@@ -1,14 +1,12 @@
TARGET = qconnmanbearer
-QT = core network-private dbus
+QT = core network-private dbus linuxofono_support_private
HEADERS += qconnmanservice_linux_p.h \
- ../linux_common/qofonoservice_linux_p.h \
SOURCES += main.cpp \
qconnmanservice_linux.cpp \
- ../linux_common/qofonoservice_linux.cpp \
OTHER_FILES += connman.json