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.
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?
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.
--
Dmitry Shachnev
Attachment:
signature.asc
Description: PGP signature