[kde-freebsd] qmake5 fails to link
Schaich Alonso
alonsoschaich at fastmail.fm
Thu Apr 23 19:52:24 UTC 2015
On Thu, 23 Apr 2015 17:15:57 +0200
"Schaich, Alonso" <alonsoschaich at fastmail.fm> wrote:
> 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
+attachments
-------------- next part --------------
A non-text attachment was scrubbed...
Name: main.cc
Type: text/x-c++src
Size: 133 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-freebsd/attachments/20150423/16728232/attachment.cc>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.pro
Type: application/octet-stream
Size: 43 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-freebsd/attachments/20150423/16728232/attachment.obj>
-------------- 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/16728232/attachment.sig>
More information about the kde-freebsd
mailing list