On Sun, Dec 28, 2025 at 1:42 PM Holm Tiffe <[email protected]> wrote:
>
> CMake Error at /usr/local/lib/cmake/Qt5/Qt5Config.cmake:28 (find_package):
> Could not find a package configuration file provided by
> "Qt5QuickVectorImageGeneratorPrivate" with any of the following names:
>
> Qt5QuickVectorImageGeneratorPrivateConfig.cmake
> qt5quickvectorimagegeneratorprivate-config.cmake
>
> Add the installation prefix of "Qt5QuickVectorImageGeneratorPrivate" to
> CMAKE_PREFIX_PATH or set "Qt5QuickVectorImageGeneratorPrivate_DIR" to a
> directory containing one of the above files. If
> "Qt5QuickVectorImageGeneratorPrivate" provides a separate development
> package or SDK, be sure it has been installed.
> Call Stack (most recent call first):
> tools/lottietoqml/CMakeLists.txt:9 (find_package)
>
I can't reproduce this either in poudriere or on a live system. It
looks like the lottietoqml tool configuration is picking up Qt5 for
some reason.
Could you try the attached patch? Apply to the ports tree with `git
apply`. The patch removes some unnecessary find_package() lines in
CMakeLists.txt for the lottietoqml tool that could potentially be
finding Qt5.
- Jason
diff --git a/graphics/qt6-lottie/files/patch-tools_lottietoqml_CMakeLists.txt b/graphics/qt6-lottie/files/patch-tools_lottietoqml_CMakeLists.txt
new file mode 100644
index 000000000000..385bd90c68e3
--- /dev/null
+++ b/graphics/qt6-lottie/files/patch-tools_lottietoqml_CMakeLists.txt
@@ -0,0 +1,12 @@
+--- tools/lottietoqml/CMakeLists.txt.orig 2025-11-13 20:37:09 UTC
++++ tools/lottietoqml/CMakeLists.txt
+@@ -5,9 +5,6 @@
+ ## lottietoqml Tool:
+ #####################################################################
+
+-find_package(QT NAMES Qt6 Qt5 REQUIRED COMPONENTS QuickVectorImageGeneratorPrivate)
+-find_package(Qt${QT_VERSION_MAJOR} REQUIRED COMPONENTS QuickVectorImageGeneratorPrivate)
+-
+ qt_get_tool_target_name(target_name lottietoqml)
+ qt_internal_add_tool(${target_name}
+ TARGET_DESCRIPTION "Lottie to QML Converter"