/usr/ports/graphics/qt6-lottie doesn't compile
Jason E. Hale
jhale at freebsd.org
Tue Dec 30 12:20:35 GMT 2025
On Mon, Dec 29, 2025 at 2:15 PM Holm Tiffe <holm at freibergnet.de> wrote:
>
>
> The patch is good Jason, qt6-lottie compiled and installed flawlessly
> after applying the patch.
>
> Many thanks and I whish you a happy new year!
>
> Regards,
> Holm
> Jason E. Hale wrote:
>
> > 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
>
> > 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"
>
>
> --
> Technik Service u. Handel Tiffe, www.tsht.de, Holm Tiffe,
> Goethestrasse 15, 09569 Oederan, USt-Id: DE253710583
> info at tsht.de Tel +49 37292 709778 Mobil: 0172 8790 741
>
Thanks for the feedback! I've applied the patch to main, so you can
remove your local changes to graphics/qt6-lottie before updating your
ports tree again.
Guten Rutsch!
- Jason
More information about the kde-freebsd
mailing list