summarylogtreecommitdiffstats
path: root/0022-Enable-minimal-and-offscreen-plugins-when-compiling-.patch
blob: 410a70d84c3992c17824fae88241e1ff45a79a57 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
From 1702815512f2f18fc04bb933a516ff5083543710 Mon Sep 17 00:00:00 2001
From: Martchus <martchus@gmx.net>
Date: Mon, 9 Jun 2025 21:15:42 +0200
Subject: [PATCH 22/25] Enable minimal and offscreen plugins when compiling for
 Android

Those platform plugins are very useful to run "graphical" code from
services, e.g. to render a QIcon to use it as icon of a foreground service
notification.

Change-Id: I1ebc70aa7c68c68ab690df030f1462f5e9d4ab54
---
 src/plugins/platforms/CMakeLists.txt | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/plugins/platforms/CMakeLists.txt b/src/plugins/platforms/CMakeLists.txt
index 69071a22c24..6c035387187 100644
--- a/src/plugins/platforms/CMakeLists.txt
+++ b/src/plugins/platforms/CMakeLists.txt
@@ -4,10 +4,10 @@
 if(ANDROID)
     add_subdirectory(android)
 endif()
-if(NOT ANDROID AND NOT WASM)
+if(NOT WASM)
     add_subdirectory(minimal)
 endif()
-if(QT_FEATURE_freetype AND NOT ANDROID AND NOT WASM)
+if(QT_FEATURE_freetype AND NOT WASM)
     add_subdirectory(offscreen)
 endif()
 if(QT_FEATURE_xcb)
-- 
2.51.0