Bug#1060228: qt6-multimedia: Cmake config for MultimediaQuickPrivate is not packaged
Hej Robert,
Am Sonntag, 7. Januar 2024, 22:40:33 CET schrieb Robert Griebl:
> Source: qt6-multimedia
> Version: 6.4.2-11
> Severity: normal
> X-Debbugs-Cc: robert@griebl.org
>
> Hi,
>
> The Debian Qt6 MM packages are not shipping with a cmake config for
> the private module "MultimediaQuickPrivate".
>
> While you normally do not have to deal with this private module, you
> definitely DO need it when using qmltc to compile QML code using
> QtMultiMedia QML types, as qmltc generates code that includes private
> headers from there:
>
> Failed to find required Qt component "MultimediaQuickPrivate".
> [cmake]
> [cmake] Expected Config file at
> [cmake]
> "/usr/lib/x86_64-linux-gnu/cmake/Qt6MultimediaQuickPrivate/Qt6Multime
> diaQuickPrivateConfig.cmake" [cmake] does NOT exist
> [cmake]
The exclusion of the file and the private headers is indeed intentional
and not an oversight.
We normally try to avoid packaging the private headers unless we
absolutely have to. Granted, that makes qmltc a little less useful in
this case, but at the moment the argument is not strong enough for me to
package the private headers as they add significant maintaining work.
--
Med vänliga hälsningar
Patrick Franz
Reply to: