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

2024-01-09 Thread Patrick Franz
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: rob...@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



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

2024-01-07 Thread Robert Griebl
Source: qt6-multimedia
Version: 6.4.2-11
Severity: normal
X-Debbugs-Cc: rob...@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/Qt6MultimediaQuickPrivateConfig.cmake"
[cmake]   does NOT exist
[cmake] 

Thanks for looking into this,
Robert


-- System Information:
Debian Release: trixie/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.5.0-4-amd64 (SMP w/32 CPU threads; PREEMPT)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE=en_US
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled