From feab484b8d2f879bee4d13aa79998f4961d41804 Mon Sep 17 00:00:00 2001 From: Lars Knoll Date: Mon, 12 Oct 2020 10:32:16 +0200 Subject: [PATCH] Enable the Android style plugin for the cmake build Change-Id: Ie6a82c47c92067fb22270891bb81cd75ed3c9212 Reviewed-by: Assam Boudjelthia Reviewed-by: Alexandru Croitor --- src/plugins/styles/CMakeLists.txt | 2 +- src/plugins/styles/android/CMakeLists.txt | 20 ++++++++++++++++++++ 2 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 src/plugins/styles/android/CMakeLists.txt diff --git a/src/plugins/styles/CMakeLists.txt b/src/plugins/styles/CMakeLists.txt index d24e3daff8..73329915f6 100644 --- a/src/plugins/styles/CMakeLists.txt +++ b/src/plugins/styles/CMakeLists.txt @@ -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) diff --git a/src/plugins/styles/android/CMakeLists.txt b/src/plugins/styles/android/CMakeLists.txt new file mode 100644 index 0000000000..a556f7bd40 --- /dev/null +++ b/src/plugins/styles/android/CMakeLists.txt @@ -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:: +# DISTFILES = "androidstyle.json"