/usr/ports/graphics/qt6-lottie doesn't compile

Jason E. Hale jhale at freebsd.org
Mon Dec 29 07:13:34 GMT 2025


On Sun, Dec 28, 2025 at 1:42 PM Holm Tiffe <holm at freibergnet.de> 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: qt6-lottie-6101a.diff
Type: text/x-patch
Size: 841 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-freebsd/attachments/20251229/b443a303/attachment.bin>


More information about the kde-freebsd mailing list