ff7fdf78ef
Replacement for the the generic bearer plugin. Compared to the generic bearer engine, this plugin provides a more detailed overview of the network configurations on Android. Added features are: - Correct bearer type, also for mobile connections. - Connection state (e.g., roaming). - Data statistics (On devices that supports it). - Polling is not required. Change-Id: I728cb91e04a66343648c0add6be2a003caca0f1f Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
39 lines
1.0 KiB
Prolog
39 lines
1.0 KiB
Prolog
TARGET = QtNetwork
|
|
QT = core-private
|
|
|
|
DEFINES += QT_NO_USING_NAMESPACE
|
|
#DEFINES += QLOCALSERVER_DEBUG QLOCALSOCKET_DEBUG
|
|
#DEFINES += QNETWORKDISKCACHE_DEBUG
|
|
#DEFINES += QSSLSOCKET_DEBUG
|
|
#DEFINES += QHOSTINFO_DEBUG
|
|
#DEFINES += QABSTRACTSOCKET_DEBUG QNATIVESOCKETENGINE_DEBUG
|
|
#DEFINES += QTCPSOCKETENGINE_DEBUG QTCPSOCKET_DEBUG QTCPSERVER_DEBUG QSSLSOCKET_DEBUG
|
|
#DEFINES += QUDPSOCKET_DEBUG QUDPSERVER_DEBUG
|
|
win32-msvc*|win32-icc:QMAKE_LFLAGS += /BASE:0x64000000
|
|
|
|
MODULE_PLUGIN_TYPES = \
|
|
bearer
|
|
|
|
QMAKE_DOCS = $$PWD/doc/qtnetwork.qdocconf
|
|
|
|
load(qt_module)
|
|
|
|
include(access/access.pri)
|
|
include(bearer/bearer.pri)
|
|
include(kernel/kernel.pri)
|
|
include(socket/socket.pri)
|
|
include(ssl/ssl.pri)
|
|
|
|
QMAKE_LIBS += $$QMAKE_LIBS_NETWORK
|
|
|
|
ANDROID_BUNDLED_JAR_DEPENDENCIES = \
|
|
jar/QtAndroidBearer-bundled.jar
|
|
ANDROID_JAR_DEPENDENCIES = \
|
|
jar/QtAndroidBearer.jar
|
|
ANDROID_LIB_DEPENDENCIES = \
|
|
plugins/bearer/libqandroidbearer.so
|
|
MODULE_PLUGIN_TYPES = \
|
|
bearer
|
|
ANDROID_PERMISSIONS += \
|
|
android.permission.ACCESS_NETWORK_STATE
|