Fix cmake configure step on Android

Now that ANDROID_EMBEDDED is not set by default anymore, we start
descending into Android specific sub-directories. This patch generates a
stub file but the Java bits still need to be ported.

Change-Id: Icbfc3ad2c1ef266980161bca081c7c4275873efd
Reviewed-by: Qt CMake Build Bot
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
bb10
Simon Hausmann 2019-06-03 13:47:23 +02:00 committed by Alexandru Croitor
parent 1080142ec3
commit f32a6cfb6b
2 changed files with 32 additions and 0 deletions

View File

@ -0,0 +1,5 @@
# Generated from android.pro.
add_subdirectory(src)
# TODO:
# add_subdirectory(jar)

View File

@ -0,0 +1,27 @@
# Generated from src.pro.
#####################################################################
## qandroidbearer Plugin:
#####################################################################
add_qt_plugin(qandroidbearer
TYPE bearer
SOURCES
../../qbearerengine_impl.h
../../qnetworksession_impl.cpp ../../qnetworksession_impl.h
main.cpp
qandroidbearerengine.cpp qandroidbearerengine.h
wrappers/androidconnectivitymanager.cpp wrappers/androidconnectivitymanager.h
INCLUDE_DIRECTORIES
wrappers
LIBRARIES
Qt::CorePrivate
Qt::NetworkPrivate
PUBLIC_LIBRARIES
Qt::Core
Qt::Network
)
#### Keys ignored in scope 1:.:.:src.pro:<TRUE>:
# PLUGIN_CLASS_NAME = "QAndroidBearerEnginePlugin"
# _LOADED = "qt_plugin"