It's from Qt 6.10: https://doc.qt.io/qt-6/whatsnew610.html#build-system-changes
Usage of a private Qt module Foo now requires a call to find_package(Qt6 COMPONENTS FooPrivate) to make the Qt6::FooPrivate target available.
| Git Clone URL: | https://aur.archlinux.org/subtitlecomposer.git (read-only, click to copy) |
|---|---|
| Package Base: | subtitlecomposer |
| Description: | Video subtitle editor |
| Upstream URL: | https://invent.kde.org/multimedia/subtitlecomposer |
| Keywords: | composer editor kde subtitle |
| Licenses: | GPL-2.0-only |
| Submitter: | Martchus |
| Maintainer: | Martchus (maxrd2) |
| Last Packager: | Martchus |
| Votes: | 35 |
| Popularity: | 0.003153 |
| First Submitted: | 2015-09-02 23:50 (UTC) |
| Last Updated: | 2025-10-13 21:40 (UTC) |
It's from Qt 6.10: https://doc.qt.io/qt-6/whatsnew610.html#build-system-changes
Usage of a private Qt module Foo now requires a call to find_package(Qt6 COMPONENTS FooPrivate) to make the Qt6::FooPrivate target available.
CMake Error at src/CMakeLists.txt:128 (target_link_libraries):
Target "subtitlecomposer-lib" links to:
Qt6::WidgetsPrivate
but the target was not found. Possible reasons include:
* There is a typo in the target name.
* A find_package call is missing for an IMPORTED target.
* An ALIAS target is missing.
is this already known?
Current master builds fine with ffmpeg release/8.0. Likely following patch has to be applied in order to compile 0.8.2 with ffmpeg 8.0. https://invent.kde.org/multimedia/subtitlecomposer/-/commit/0043f4434886c5aabe99705d40bd7f633b8b73e7.patch
Before anyone will ask: The current release is not compiling against ffmpeg 8 which will hit the regular Arch repo soon. Hence this package will cease to function/build soon. So far I haven't seen an upstream patch to fix this. There's also no ffmpeg7 package yet which one could link against instead. Note that ffmpeg4 is too old at this point. It would probably work to downgrade to commit 4bcc52f1e239 of this AUR package using ffmpeg4 and an older version of subtitlecomposer.
This line should probably be dropped completely. The build probably succeeded in my case as I built it in a clean chroot without ffmpeg4 installed. I updated the package.
@Martchus you still have in the PKGBUILD the
export PKG_CONFIG_PATH='/usr/lib/ffmpeg4.4/pkgconfig'
but the dep changed to ffmpeg. The build will fail with the error below. I had to change this to
export PKG_CONFIG_PATH='/usr/lib/pkgconfig'
to build successfully.
Error:
-- Found PkgConfig: /usr/bin/pkg-config (found version "2.5.1")
CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:227 (message):
Could NOT find FFmpeg: Found unsuitable version "58.76.100", but required
is at least "59.27.100" (found
includes: /usr/include/ffmpeg4.4
libs: /usr/lib/ffmpeg4.4/libavformat.so (version 58.76.100)
/usr/lib/ffmpeg4.4/libavcodec.so (version 58.134.100)
/usr/lib/ffmpeg4.4/libswresample.so (version 3.9.100)
/usr/lib/ffmpeg4.4/libswscale.so (version 5.9.100)
/usr/lib/ffmpeg4.4/libavutil.so (version 56.70.100)
)
Call Stack (most recent call first):
/usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:589 (_FPHSA_FAILURE_MESSAGE)
cmake/FindFFmpeg.cmake:49 (find_package_handle_standard_args)
src/CMakeLists.txt:36 (find_package)
-- Configuring incomplete, errors occurred!
@Martchus Not sure who flagged it. New version was tagged couple weeks ago, but it hasn't been released yet. It will likely be released in few days.
To whomever flagged this package: I don't see v0.8.2 or any new version on https://invent.kde.org/multimedia/subtitlecomposer/-/releases.
Looks like a typo, statDetails versus StatDetails?
Maybe. Probably it makes most sense to fix this upstream first. And yes, it is currently not possible to compile it under Arch Linux to my knowledge. Sometimes things get rolled over on a rolling-release distribution. If it doesn't compile with/against system packages this doesn't mean it is not usable anymore. Perhaps upstream provides a Flatpak or Appimage that still works.
So your pinned comment means that subtitlecomposer is not usable anymore? I can't get it to build, tried changing statDetails to StatDetails but another error came up something to many arguments, 1 expected 4 provided in the same helper file as my latest comment
I'm using Arch linux
Pinned Comments
Martchus commented on 2025-10-03 22:08 (UTC)
Before anyone will ask: The current release is not compiling against ffmpeg 8 which will hit the regular Arch repo soon. Hence this package will cease to function/build soon. So far I haven't seen an upstream patch to fix this. There's also no
ffmpeg7package yet which one could link against instead. Note thatffmpeg4is too old at this point. It would probably work to downgrade to commit 4bcc52f1e239 of this AUR package usingffmpeg4and an older version ofsubtitlecomposer.Martchus commented on 2016-05-18 21:59 (UTC)