Skip to content

Commit 0f855c1

Browse files
committed
qt6: add patch to align to 16kb page size
1 parent 32a05cd commit 0f855c1

2 files changed

Lines changed: 12 additions & 0 deletions

File tree

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
--- a/CMakeLists.txt 2025-08-18 11:04:17.816312226 +0200
2+
+++ b/CMakeLists.txt 2025-08-18 11:04:34.076769220 +0200
3+
@@ -14,6 +14,8 @@
4+
# before the toolchain file is loaded.
5+
include("${__qt6_qtbase_src_path}/cmake/QtAutoDetect.cmake")
6+
7+
+add_link_options(-Wl,-z,max-page-size=16384 -Wl,-z,common-page-size=16384)
8+
+
9+
project(Qt
10+
VERSION "${QT_REPO_MODULE_VERSION}"
11+
DESCRIPTION "Qt Libraries"

pythonforandroid/recipes/qt6/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ class Qt6Recipe(BootstrapNDKRecipe):
1616
depends = ['python3', 'hostqt6']
1717
conflicts = ['sdl2', 'genericndkbuild']
1818
# patches = ['add-way-to-disable-accessibility-env-var.patch']
19+
patches = ['16kb-page-align.patch']
1920

2021
need_stl_shared = True
2122

0 commit comments

Comments
 (0)