qt6: install the SVG image format plugin

Fixes #5427
This commit is contained in:
Christian Prochaska 2025-01-20 17:13:50 +01:00 committed by Christian Helmuth
parent b8cab63a15
commit 9dee2fbaf3

View File

@ -12,9 +12,11 @@ QT6_PORT_LIBS = libQt6Core libQt6Gui libQt6Widgets
LIBS = qt6_cmake ldso_so_support libc libm egl mesa qt6_component stdcxx
INSTALL_LIBS = lib/libQt6Svg.lib.so \
lib/libQt6SvgWidgets.lib.so
lib/libQt6SvgWidgets.lib.so \
plugins/imageformats/libqsvg.lib.so
BUILD_ARTIFACTS = $(notdir $(INSTALL_LIBS))
BUILD_ARTIFACTS = $(notdir $(INSTALL_LIBS)) \
qt6_libqsvg.tar
build: cmake_prepared.tag qt6_so_files
@ -74,6 +76,12 @@ build: cmake_prepared.tag qt6_so_files
ln -sf $(CURDIR)/install/qt/$${LIB}.debug $(PWD)/debug/; \
done
@#
@# create tar archives
@#
$(VERBOSE)tar chf $(PWD)/bin/qt6_libqsvg.tar $(TAR_OPT) --transform='s/\.stripped//' -C install qt/plugins/imageformats/libqsvg.lib.so.stripped
.PHONY: build
QT6_TARGET_DEPS = build