#763454 qtbase-opensource-src: Building against Qt fails not finding mtdev

#763454#5
Date:
2014-09-30 12:15:44 UTC
From:
To:
Dear Maintainer,

After the qtbase started building against libmtdev-dev, that dependency
is transferred to some of the software building against qtbase. Because
libmtdev-dev is however not a dependency of qtbase5-(private-)dev, building
fails by default.

Steps to reproduce:

tar xvf dummy-qt5.tar
cd dummy-qt5
pdebuild
# fails at /usr/bin/ld: cannot find -lmtdev

*** End of the template - remove these template lines ***

#763454#10
Date:
2014-10-02 20:54:07 UTC
From:
To:
tag 763454 wontfix
thanks

On Tuesday 30 September 2014 15:15:44 Timo Jyrinki wrote:
[snip]

Already explained by Sune over IRC to Timo, but writing it here for the sake
of completitude.

This comes from QPlatformSupport stuff which creates a static library that
needs this linking.

It also happens that QPlatformSupport is private stuff, so there is really no
way to solve this but either stop using private stuff or helping upstream to
make QPlatformSupport public (which would be really helpful). This will in
turn mean that it will become a dynamic lib and this bug can be fixed.

By the way there was part of the QPlatformSupport stuff in qtbase5-dev, I have
just pushed it to qtbase5-private-dev.

Kinds regards, Lisandro.