cmake: compile the networkmanager bearer plugin
Change-Id: Ia744afec6114266fcb693702db257fe36ba94b92 Reviewed-by: Liang Qi <liang.qi@qt.io>
This commit is contained in:
parent
863cea981b
commit
6424e70bbe
@ -1,7 +1,7 @@
|
||||
if (NOT ANDROID AND LINUX AND QT_FEATURE_dbus)
|
||||
add_subdirectory(generic)
|
||||
add_subdirectory(connman)
|
||||
# TODO add_subdirectory(networkmanager)
|
||||
add_subdirectory(networkmanager)
|
||||
elseif(ANDROID AND NOT ANDROID_EMBEDDED)
|
||||
# TODO add_subdirectory(android)
|
||||
else()
|
||||
|
23
src/plugins/bearer/networkmanager/CMakeLists.txt
Normal file
23
src/plugins/bearer/networkmanager/CMakeLists.txt
Normal file
@ -0,0 +1,23 @@
|
||||
# Generated from networkmanager.pro.
|
||||
|
||||
#####################################################################
|
||||
## qnmbearer Plugin:
|
||||
#####################################################################
|
||||
|
||||
add_qt_plugin(qnmbearer
|
||||
TYPE bearer
|
||||
SOURCES
|
||||
../linux_common/qofonoservice_linux.cpp ../linux_common/qofonoservice_linux_p.h
|
||||
../qbearerengine_impl.h
|
||||
../qnetworksession_impl.cpp ../qnetworksession_impl.h
|
||||
main.cpp
|
||||
qnetworkmanagerengine.cpp qnetworkmanagerengine.h
|
||||
qnetworkmanagerservice.cpp qnetworkmanagerservice.h
|
||||
LIBRARIES
|
||||
Qt::Core
|
||||
Qt::NetworkPrivate
|
||||
Qt::DBus
|
||||
# OTHER_FILES = "networkmanager.json"
|
||||
# PLUGIN_CLASS_NAME = "QNetworkManagerEnginePlugin"
|
||||
# _LOADED = "qt_plugin"
|
||||
)
|
Loading…
Reference in New Issue
Block a user