Files
RedBear-OS/local/patches/qtdeclarative/P1-skip-tools-crosscompile.patch
T
vasilito 0eea77541a fix(openssl3): add missing core.h headers to fix build
OpenSSL 3.5.3 tarball is missing include/openssl/core.h and
include/internal/core.h headers. These are standard OpenSSL 3.x
headers that are referenced by multiple source files.

- Add P0-add-missing-core-headers.patch with both missing headers
- Update recipe.toml to apply the patch
- Headers sourced from official OpenSSL 3.5.3 branch on GitHub

Fixes build failure:
  fatal error: openssl/core.h: No such file or directory
2026-06-21 09:07:27 +03:00

18 lines
559 B
Diff

--- a/tools/CMakeLists.txt
+++ b/tools/CMakeLists.txt
@@ -3,5 +3,14 @@
# Generated from tools.pro.
+# Red Bear: skip all tools during cross-compilation because the shared host
+# bootstrap does not include every qtdeclarative tool binary (qmlprofiler,
+# qmlpreview, qmlscene, etc). The libraries do not require these tools at
+# configure time; only the tools/ subdirectory tries to find them as host
+# binaries via qt_internal_add_tool().
+if(CMAKE_CROSSCOMPILING)
+ return()
+endif()
+
add_subdirectory(qmldom)
if(QT_FEATURE_commandlineparser)