nm: add libnm support for connectivity change detection (linux)

Change-Id: I014999c80cfbc725ff36e517696a3ffb237a6213
This commit is contained in:
ababi
2020-12-07 16:19:43 +01:00
committed by Albert Babí Oller
parent 008ab0aeb2
commit a4787e2a45
5 changed files with 104 additions and 12 deletions

View File

@@ -105,10 +105,17 @@ unix {
LIBS += -lqrencode
LIBS += -lX11
CONFIG += link_pkgconfig
PKGCONFIG += libnm
isEmpty(PREFIX) { PREFIX = /tmp/$${TARGET}/bin }
target.path = $$PREFIX/bin
INSTALLS += target
packagesExist(libnm) {
DEFINES += USE_LIBNM
}
# unix specific
HEADERS += \
src/xrectsel.h