[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#958521: qtquickcontrols2-5-dev: Private headers missing



Hi Olaf!

On Thu, 23 Apr 2020 at 07:27, Olaf Mandel <o.mandel@menlosystems.com> wrote:
>
> Package: qtquickcontrols2-5-dev
> Version: 5.11.3+dfsg-2
> Severity: important
> Tags: patch
>
> Dear Maintainer,
>
> the private headers and modules are missing from this development
> package for both modules quickcontrols2 and quicktemplates2. These files
> are important if the user wants to compile a project that contains
> either of these module dependencies:
>
>     QT += quickcontrols2-private quicktemplates2-private
>
> Currently, such a compile fails as the *.pri files (not to mention the
> header files) are missing.
>
> Note that while compiling against Qt private modules may not be good
> form, it is allowed and I would expect this to be possible with
> Debian-provided Qt modules (it is with the qtbase ones).

We do indeed remove all private headers except for the ones required
by another submodules (that's why qtbase ships them).

> One can argue about creating an extra package just for the private
> development files, but in the attached patch I opted to include the
> files together with the public ones.

That's a very bad idea, private headers are not API/ABI stable.

*Maybe* we can add the private headers for everything in the last Qt 5
upload, as it will switch to Qt 6 after all. But that's to be decided.

-- 
Lisandro Damián Nicanor Pérez Meyer
http://perezmeyer.com.ar/
http://perezmeyer.blogspot.com/


Reply to: