Server: Port IP detection and filtering to QNetworkInterface

This commit is contained in:
Felix Kauselmann
2023-04-07 15:01:10 +02:00
parent 1a6e36d7d2
commit 9f67bb5e53
4 changed files with 11 additions and 103 deletions

View File

@ -15,6 +15,7 @@ DEFINES += SERVER_RELEASE YACREADER_LIBRARY
# do a basic dependency check
include(headless_config.pri)
include(../dependencies/pdf_backend.pri)
include(../third_party/QrCode/QrCode.pri)
greaterThan(QT_MAJOR_VERSION, 5): QT += core5compat
@ -32,11 +33,6 @@ macx {
CONFIG += objective_c
}
unix:haiku {
DEFINES += _BSD_SOURCE
LIBS += -lnetwork -lbsd
}
#CONFIG += release
CONFIG -= flat
QT += core sql network