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

Bug#933597: qt3d5-examples: qt examples missing important files



Hi!

El vie., 2 ago. 2019 15:57, Dmitry Shachnev <mitya57@debian.org> escribió:
Hi Mike!

On Wed, Jul 31, 2019 at 02:21:27PM -0700, Mike Bird wrote:
> Installing various qt*examples packages such as this does not make
> them visible in qtcreator.  This may be because the various
> examples-manifest.xml (and associated images) are in the doc-html
> packages (where they do not appear to be used) rather than in
> the qt*examples packages where they are needed.  Installing the
> doc-html files magically makes the examples appear in qtcreator.

Thanks for bringing this up! I do not use qtcreator myself, so I could
not notice this bug.


I do, but I also have almost the full stack installed, so I never bumped into it.


This is a difficult issue for two reasons:

1) It affects all submodules, not just qt3d (we have 31 *-doc-html
packages at the moment).

2) Currently our .install files for the *-doc-html look very simple
and basically install everything under /usr/share/qt5/doc/{MODULE}.

To fix this, we need to explicitly list all files we want to install,
except the examples-manifest.xml files, which should go to -examples.
This is manual work, and it is easy to miss some such files.

I wonder if it will be better to simply make the *-examples packages
recommend the *-doc-html packages. (Not depend because the examples
can be run without qtcreator.) What do you think about this?


Putting the xml files along the examples would also prove tricky, as they are probably bring built with the arch:all build.

So yes, I think a recommendation is the best approach here.

I am currently on vacation so I will be able to work on this not
earlier than in two weeks. But hopefully we can get this fixed before
Qt 5.12 reaches unstable.

Scarlett should probably be able to goo ahead with this. Scarlett: feel free to ping me.

Reply to: