aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexandru Croitor <[email protected]>2025-01-30 16:45:18 +0100
committerAlexandru Croitor <[email protected]>2025-02-13 18:44:47 +0000
commitc6eab28406fb0d8b2bd053ab5d9a09b4107166e2 (patch)
tree8a1fe7b5fcdcf66112e2446b582299593644a408
parent2992a310640697325791a5494ca8f4d4552de368 (diff)
Disable usage of system litehtml by defaultHEADmaster
Linux system packages are often incompatible with what qlitehtml expects, and cause build failures. Prefer to use a known working checkout of the submodule, instead of preferring the system package. The behavior can be reverted by configuring qt / qttools / qlitehtml with -DQLITEHTML_USE_SYSTEM_LITEHTML=ON [ChangeLog][qlitehtml] Usage of system litehtml is now disabled by default. Configure with -DQLITEHTML_USE_SYSTEM_LITEHTML=ON to prefer the system package. Fixes: QTBUG-133372 Change-Id: Ia30b6ecef59df9484e77c63d92a59d4fcd8f55cf Reviewed-by: Eike Ziller <[email protected]>
-rw-r--r--src/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 51f00e4..6400a38 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -15,7 +15,7 @@ set(QLITEHTML_VERSION ${PROJECT_VERSION})
set(QLITEHTML_VERSION_MAJOR ${PROJECT_VERSION_MAJOR})
set(QLITEHTML_VERSION_COMPAT ${QLITEHTML_VERSION} CACHE STRING "qlitehtml compat version number.")
-option(QLITEHTML_USE_SYSTEM_LITEHTML "Uses litehtml from the system if available" ON)
+option(QLITEHTML_USE_SYSTEM_LITEHTML "Uses litehtml from the system if available" OFF)
if(QLITEHTML_USE_SYSTEM_LITEHTML)
find_package(litehtml QUIET)
endif()