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

Bug#933952: qtbase5-examples: many qtbase5-examples fail to compile - w/solution



Hi Mike!

I agree with Lisandro that for many people it will be enough to just run
the examples, not (re-)compile them. So we should not add these dependencies,
at most we can add some of these packages to Suggests.

But see below:

On Mon, Aug 05, 2019 at 06:53:52AM -0700, Mike Bird wrote:
> A directory of files and several dependencies are missing from
> qtbase5-examples.  Here is how to fix it.
>
> (1) In the source package, file "examples/vulkan/vulkan.pro", at the
>     end add a blank line and then a line containing only
>     "EXAMPLE_FILES = shared" (without the quotes).  The resut will
>     end up looking like the tail of file "cat examples/network/network.pro".

This sounds like an upstream issue. Please file a bug on bugreports.qt.io
or directly submit the patch to codereview.qt-project.org, explaining why
this change is needed (you did not explain your problem here).

> (2) Add the following miscellaneous dependencies:
>       qt5-default c++-compiler make qtbase5-private-dev libqt5opengl5-dev

As Lisandro explained, nothing should really depend on qt5-default.

In fact, Lintian even has a warning for this:
https://wiki.debian.org/Lintian/Tags/depends-on-metapackage

And I think people who really need to *compile* examples will have g++ and
qmake/make installed. If they are missing it is quite easy to figure out how
to install them.

Speaking about qtbase5-dev package, it is less trivial to figure out. Maybe
we should make qtbase5-examples suggest it.

--
Dmitry Shachnev

Attachment: signature.asc
Description: PGP signature


Reply to: