[Development] can not build 5.9.1 qtmultimedia
Allan Sandfeld Jensen
kde at carewolf.com
Tue Jul 25 00:20:07 CEST 2017
On Sonntag, 23. Juli 2017 22:49:11 CEST Martin Koller wrote:
> On Sonntag, 23. Juli 2017 18:54:41 CEST Thiago Macieira wrote:
> > On Sunday, 23 July 2017 01:50:10 PDT Martin Koller wrote:
> > > I found this symbol to be in the qgsttools_p lib but I fear the linker
> > > takes the lib from a wrong path.
> >
> > If you already have Qt installed system-wide, please remove the
> > development
> > files. You said you're on OpenSUSE, so just remove the Qt -devel packages.
>
> Ouch.
> I assume this is just a workaround, and not "the solution", right ?
>
It is a work-around, but it is an issue that pops up frequently and can take a
while until solved. I do have development files of the system Qt installed,
and it usually works just fine. When it does pop up it is however quite tricky
to solve because if any pkg-config files add a system include directory to the
compile command line, things break. Getting the correct order of includes on
and gcc command line is impossible, so the only way of not getting a system
header sneak in before the right Qt header is to make sure system include
paths are never be explicitly specified, and that requires well-maintained
bug-free devel packages.
So the issue might not even be Qt, but your distros.
'Allan
More information about the Development
mailing list