Debian Patches

Status for qt6-tools/6.4.2-4

Patch Description Author Forwarded Bugs Origin Last update
fix_build_with_clang18.patch [PATCH] lupdate: Fix build with clang 16+
The signature changed again.

I've tested it with a current main, that is clang 17, but the commit
854c10f8d185286d941307e1033eb492e085c203 with introduced the change is
also contained in clang 16.
=?UTF-8?q?Bj=C3=B6rn=20Sch=C3=A4pers?= <bjoern@hazardy.de> no 2023-02-08
fix-build-with-system-litehtml.patch Fix build with system litehtml
CMake errors out when using system litehtml (which depends on gumbo) due being
unable to set definitions for libraries not built by the Qt6 Tools project:

CMake Error at /usr/lib/x86_64-linux-gnu/cmake/Qt6/QtFlagHandlingHelpers.cmake:171 (target_compile_definitions):
Cannot specify compile definitions for target "litehtml" which is not built
by this project.
Call Stack (most recent call first):
src/assistant/CMakeLists.txt:34 (qt_internal_set_exceptions_flags)


CMake Error at /usr/lib/x86_64-linux-gnu/cmake/Qt6/QtFlagHandlingHelpers.cmake:190 (get_target_property):
get_target_property() called with non-existent target "litehtml".
Call Stack (most recent call first):
src/assistant/CMakeLists.txt:35 (qt_disable_warnings)


CMake Error at /usr/lib/x86_64-linux-gnu/cmake/Qt6/QtFlagHandlingHelpers.cmake:190 (get_target_property):
get_target_property() called with non-existent target "gumbo".
Call Stack (most recent call first):
src/assistant/CMakeLists.txt:37 (qt_disable_warnings)

Also, litehtml > 0.5 reorganises the headers into a litehtml sub-directory
(this build is with exactly litehtml 0.5+git20211028, the same version found
in Qt6 Tools source code). Fix the build by removing attempts to set Qt defs
for litehtml/gumbo and by using the new path to the primary header.
Rob Savoury <savoury@savos.tech> no 2022-08-23

All known versions for source package 'qt6-tools'

Links