Enable the Android style plugin for the cmake build

Change-Id: Ie6a82c47c92067fb22270891bb81cd75ed3c9212
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
This commit is contained in:
Lars Knoll 2020-10-12 10:32:16 +02:00
parent 4cfea12cb8
commit feab484b8d
2 changed files with 21 additions and 1 deletions

View File

@ -1,7 +1,7 @@
# Generated from styles.pro.
if(QT_FEATURE_style_android)
# add_subdirectory(android) # special case TODO
add_subdirectory(android)
endif()
if(QT_FEATURE_style_mac)
add_subdirectory(mac)

View File

@ -0,0 +1,20 @@
# Generated from android.pro.
#####################################################################
## QAndroidStylePlugin Plugin:
#####################################################################
qt_internal_add_plugin(QAndroidStylePlugin
OUTPUT_NAME qandroidstyle
TYPE styles
SOURCES
main.cpp
qandroidstyle.cpp qandroidstyle_p.h
PUBLIC_LIBRARIES
Qt::Core
Qt::Gui
Qt::WidgetsPrivate
)
#### Keys ignored in scope 1:.:.:android.pro:<TRUE>:
# DISTFILES = "androidstyle.json"