Thiago Macieira wrote:
> I see that the QStringList::join(QLatin1String) overload was added in 5.8.
> Does t mean that the installed version is 5.7 or earlier?
Yes, 5.7.1 .
> Ok, so that is the problem. The question is why LD_LIBRARY_PATH was not
> properly set. Or...
During the build lrelease is invoked through a wrapper which sets
LD_LIBRARY_PATH=/path/to/build/qtbase/lib${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}
that looks correct to me.
> Check the lrelease binary with objdump -p: do you set RPATH? Do you see
> RUNPATH?
That must be it:
For lrelease:
RPATH $ORIGIN/../lib:/opt/local/lib:/opt/local/libexec/qt5/lib
For qtdiag:
RUNPATH $ORIGIN/../lib:/opt/local/lib:/opt/local/libexec/qt5/lib
R
_______________________________________________
Development mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/development