[kde-freebsd] qmake5 fails to link

Schaich, Alonso alonsoschaich at fastmail.fm
Thu Apr 23 15:15:57 UTC 2015


Hi

Over here, qt5's qmake fails to link even the trival qt5 projects
(attached), when invoked via

#> /usr/local/lib/qt5/bin/qmake -makefile && make

as it doesn't add /usr/local/lib to the library path used by the linker
on a FreeBSD-10 system where qmakespec defaults to freebsd-clang.

I traced this to r10442 of area51 which removed the QMAKE_LIBDIR
extension from the freebsd qmakespec - inverting the
devel/qmake5/files/patch-mkspecs__common__freebsd.conf part of r10442
fixes the linker invokation.

While a "fix" would be easy, rather than manual qmake invokation
being broken on FreeBSD-10/WITH_CLANG_IS_CC for almost half a year
unnoticed, I rather like to think that I'm invoking qmake poorly.

What's the "right" way of invoking qmake5?

Alonso
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 603 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-freebsd/attachments/20150423/86297fd1/attachment.sig>


More information about the kde-freebsd mailing list