#1060228 qt6-multimedia: Cmake config for MultimediaQuickPrivate is not packaged

#1060228#5
Date:
2024-01-07 21:40:33 UTC
From:
To:
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/Qt6MultimediaQuickPrivateConfig.cmake"
[cmake]   does NOT exist
[cmake]

Thanks for looking into this,
Robert

#1060228#10
Date:
2024-01-09 17:46:53 UTC
From:
To:
Hej Robert,

Am Sonntag, 7. Januar 2024, 22:40:33 CET schrieb Robert Griebl:

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.