Files
RedBear-OS/local/patches/qtdeclarative/P1-skip-tools-crosscompile.patch
T
vasilito cb497b03f8 fix: regenerate qtdeclarative P1 patch (hunk context off by 1)
Old patch had @@ -3,5 — missing trailing context line
'add_subdirectory(qmllint)' that diff -u includes.
Regenerated from actual source.tmp to match fetched tarball.
2026-06-29 02:05:16 +03:00

19 lines
590 B
Diff

--- a/tools/CMakeLists.txt
+++ b/tools/CMakeLists.txt
@@ -3,6 +3,15 @@
# 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)
add_subdirectory(qmllint)