summarylogtreecommitdiffstats
path: root/0016-Enable-minimal-and-offscreen-plugins-when-compiling-.patch
blob: 982f2339e5a9c6adfdcb9c4e173e34bbcccadd7b (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 2d342e3c4cd7fe82f5c8efb546d1b12f2c3615d1 Mon Sep 17 00:00:00 2001
From: Martchus <martchus@gmx.net>
Date: Mon, 9 Jun 2025 21:15:42 +0200
Subject: [PATCH 16/24] 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 f30c27c24be..498a0772bc9 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.52.0